prometheus/.github/workflows/check_release_notes.yml
dependabot[bot] 3c92bb1c20
chore(deps): bump actions/checkout from 4.2.2 to 5.0.1 (#17568)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](11bd71901b...93cb6efe18)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-21 09:27:46 +01:00

28 lines
852 B
YAML

name: 'Check release notes'
on:
pull_request:
branches:
- main
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- env:
PR_DESCRIPTION: ${{ github.event.pull_request.body }}
run: |
echo "$PR_DESCRIPTION" | ./scripts/check_release_notes.sh