Integrate Postman Collections and Environments from File System#11
Open
aphanor-postman wants to merge 1 commit intomainfrom
Open
Integrate Postman Collections and Environments from File System#11aphanor-postman wants to merge 1 commit intomainfrom
aphanor-postman wants to merge 1 commit intomainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR sets up integration between this repository and the linked Postman workspace.
The following assets are introduced:
postman/— Contains exported contents of the linked Postman workspace (collections, environments, APIs, etc.).config/— Stores workspace configuration required for synchronization.github/workflows/postman-publish.yaml— GitHub Actions workflow to keep repository files in sync with Postman CloudWhat this enables
The
postman-publish.yamlworkflow ensures that changes made locally to the Postman files are automatically synchronized with the linked Postman workspace in Postman Cloud.This establishes GitHub as the source of truth while keeping the Postman workspace continuously up to date.
Required one-time setup (before merging)
To ensure the GitHub Action works correctly, the repository owner must complete the following step before merging this PR.
Add required GitHub Secret
Add the following secret in:
GitHub → Repository Settings → Secrets and variables → Actions
POSTMAN_API_KEY— Postman API key of the repository ownerYou can generate a Postman API key from:
Postman → Settings → API Keys
Files introduced in this PR
postman/.config/.github/workflows/postman-publish.yamlWhy you're seeing this PR
This PR is created automatically to link this GitHub repository with its corresponding Postman workspace and enable continuous synchronization.
Checklist
POSTMAN_API_KEYsecretpostman-publish.yamlworkflow runs successfully after merge