Documented review cases that require additional scrutiny #10397
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: changelog-checker | |
permissions: read-all | |
on: | |
pull_request: | |
types: [opened, edited, synchronize] | |
jobs: | |
check: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.2 | |
with: | |
path: repo | |
- name: Set up Go | |
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 | |
with: | |
go-version: '^1.23.0' | |
- name: Build | |
run: | | |
cd repo/tools/go-changelog/cmd/changelog-pr-body-check | |
go build | |
- name: Check Changelog | |
env: | |
GITHUB_OWNER: GoogleCloudPlatform | |
GITHUB_REPO: magic-modules | |
GITHUB_TOKEN: ${{github.token}} | |
run: | | |
cd repo/tools/go-changelog/cmd/changelog-pr-body-check | |
./changelog-pr-body-check ${{github.event.pull_request.number}} |