Skip to content

Remove projects/ prefix if it exists #10177

Remove projects/ prefix if it exists

Remove projects/ prefix if it exists #10177

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}}