Skip to content

Commit

Permalink
ci: Use "post-release" environment in update-docs post-release workfl…
Browse files Browse the repository at this point in the history
…ow (#30890)

Add an `environment: post-release` clause to the `update-docs-version`
job in the `post-release.yaml` workflow so it can access the `APP_ID`
var and the `PRIVATE_KEY` secret. This allows it to generate a github
token with the permissions of the installed application referenced by
`APP_ID`.

App: https://github.com/organizations/gravitational/settings/apps/teleport-post-release-automation
  • Loading branch information
camscale authored Aug 23, 2023
1 parent f454b5a commit 3f2570a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/post-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
update-docs-version:
name: Update docs version
runs-on: ubuntu-latest
environment: post-release
steps:
- name: Get Release Branch
id: get-branch
Expand Down

0 comments on commit 3f2570a

Please sign in to comment.