Changed PUB_SECTOR_PATTERN to fix validation on IPA code #190
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: Release drafter | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
check_secrets: | |
name: Check secrets | |
runs-on: ubuntu-latest | |
outputs: | |
PAT: ${{ steps.pat.outputs.is_set }} | |
ALL: ${{ steps.pat.outputs.is_set }} | |
steps: | |
- | |
name: Check PAT | |
id: pat | |
run: | | |
echo "is_set: ${{ secrets.PAT != '' }}" | |
echo "::set-output name=is_set::${{ secrets.PAT != '' }}" | |
update_release_draft: | |
name: Update draft release | |
runs-on: ubuntu-latest | |
needs: | |
- check_secrets | |
steps: | |
- | |
if: ${{ needs.check_secrets.outputs.PAT == 'true' }} | |
name: Draft next release | |
uses: release-drafter/release-drafter@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.PAT }} |