feat: add env vars to restrict API key creation and usage to org owne… #261
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
| name: Release Sourcebot (Development) | |
| permissions: | |
| contents: read | |
| packages: write | |
| id-token: write | |
| on: | |
| push: | |
| branches: ["main"] | |
| jobs: | |
| build: | |
| uses: ./.github/workflows/_build.yml | |
| with: | |
| git_ref: ${{ github.ref_name }} | |
| docker_tags: type=raw,value=main | |
| use_app_token: false | |
| secrets: inherit | |
| publish-to-registry: | |
| needs: build | |
| uses: ./.github/workflows/_merge.yml | |
| with: | |
| docker_tags: type=raw,value=main |