Check if labels field exists in customDiff function #689
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: changelog-checker | |
permissions: read-all | |
on: | |
pull_request: | |
types: [opened, edited] | |
jobs: | |
check: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
path: repo | |
- 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 | |
go run . ${{github.event.pull_request.number}} |