Backend Menu: Fix "Promotions" items #556
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: "Ensure Changelog label" | |
on: | |
pull_request: | |
types: ["labeled", "unlabeled"] | |
branches: | |
- main | |
- v* | |
workflow_call: | |
jobs: | |
ensure: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Check for the presence of a changelog label" | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
gh pr view \ | |
${{ github.event.pull_request.number }} \ | |
--json labels \ | |
--jq 'any(.labels[].name; startswith("changelog:"))' \ | |
| jq -e |