RELATED: STL-118 permissions in Pull request ~ Prerelease #7
Workflow file for this run
This file contains 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: Pull request ~ Prerelease | |
on: | |
pull_request: | |
types: [closed] | |
branches: | |
- master | |
- release | |
jobs: | |
publish-pre-release: | |
name: Publish pre-release | |
if: > | |
github.event.pull_request.merged == true && | |
contains(github.event.pull_request.labels.*.name, 'publish pre-release') | |
uses: ./.github/workflows/rw-publish-prerelase.yml | |
permissions: | |
contents: write | |
id-token: write | |
with: | |
source-branch: ${{ github.event.pull_request.base.ref }} |