prometheus/.github/workflows/check_release_notes.yml
renovate[bot] b27435d356
chore(deps): update actions/checkout action to v7 (#19056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-01 14:27:44 +02:00

28 lines
910 B
YAML

name: 'Check release notes'
on:
pull_request:
branches: [main, 'release-*']
types:
- opened
- reopened
- edited
- synchronize
permissions:
contents: read
pull-requests: read
jobs:
check_release_notes:
name: check
runs-on: ubuntu-latest
# Don't run this workflow on forks.
# Don't run it on dependabot PRs either as humans would take control in case a bump introduces a breaking change.
if: (github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community') && github.event.pull_request.user.login != 'dependabot[bot]'
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- env:
PR_DESCRIPTION: ${{ github.event.pull_request.body }}
run: |
echo "$PR_DESCRIPTION" | ./scripts/check_release_notes.sh