Skip to content

TheKeyholdingCompany/action-get-postman-collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get Postman Collection

Fetch a postman collection based on the collection name and a fork (if provided).

The intent is to get the version of the collection that matches the branch name, so that the right postman tests are run.

For example, if your branch is 123-do-the-thing and your postman collection was forked with the same name, you would use the following:

- name: Get Postman Collection
  id: get-postman-collection
  uses: TheKeyholdingCompany/action-get-postman-collection@0.1.7
  with:
    postman-key: your-key-here
    collection-name: Awesome API Collection
    collection-fork: 123-do-the-thing
- name: Postman Collection UUID
  run: echo "Collection UUID: ${{ steps.get-postman-collection.outputs.collection-uuid }}"

If the fork doesn't exist in postman, then the action will default to the main collection.

About

Get postman collection by name (and fork)

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors