-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit 2b519f9.
- Loading branch information
Showing
1 changed file
with
3 additions
and
5 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 |
---|---|---|
|
@@ -23,16 +23,14 @@ jobs: | |
- name: Run update script | ||
id: update_script | ||
run: | | ||
version=$(python update_release_notes.py) | ||
echo "::set-output name=version::${version}" | ||
run: python update_release_notes.py | ||
|
||
- name: Commit files | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add . | ||
git commit -m "docs: update release notes (${version})" || echo "No changes to commit" | ||
git commit -m "Update release notes" || echo "No changes to commit" | ||
- name: Push changes | ||
run: git push origin ${{ steps.update_script.outputs.branch }} | ||
|
@@ -43,5 +41,5 @@ jobs: | |
source_branch: ${{ steps.update_script.outputs.branch }} | ||
destination_branch: "main" | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
pr_title: "docs: update release notes (${{ steps.update_script.outputs.version }})" | ||
pr_title: "Update Release Notes" | ||
pr_body: "Automatically update release notes" |