Removed guard around operation WithResponse method & improved error handling #18
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@v2 | |
with: | |
repository: trodge/magic-modules # Remove these lines before merging | |
ref: go-changelog # Remove these lines before merging | |
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}} |