forked from google/go-github
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from WillAbides/update-openapi2
git remote -v
- Loading branch information
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,17 +30,16 @@ jobs: | |
exit 0 | ||
fi | ||
script/generate.sh | ||
# set NEEDS_PR output to 1 | ||
echo "UPDATED=1" >> $GITHUB_OUTPUT | ||
- name: create PR | ||
uses: peter-evans/[email protected] | ||
if: steps.update.outputs.UPDATED == '1' | ||
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 #v5.0.2 | ||
with: | ||
token: ${{ github.token }} | ||
commit-message: "Update openapi_operations.yaml" | ||
commit-message: "update openapi_operations.yaml and generated code" | ||
title: "Update OpenAPI operations and generated code" | ||
body: | | ||
This PR was automatically generated by the update-openapi workflow. | ||
Please review the changes and merge if they look good. | ||
branch: "auto-update-openapi" | ||
This PR was automatically generated by the update-openapi workflow in order to keep | ||
the OpenAPI operations and generated code in sync with the latest changes to the | ||
GitHub REST API. | ||
delete-branch: true |