forked from tardis-sn/tardis
-
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.
fix update changelog workflow (tardis-sn#1432)
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 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
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ on: | |
jobs: | ||
push: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.repository_owner == 'tardis-sn' }} # Do not run scheduled jobs on forks | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -23,11 +24,11 @@ jobs: | |
- name: Commit files | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "TARDIS bot" | ||
git config --local user.name "TARDIS Bot" | ||
git add CHANGELOG.md | ||
git commit -m "Update CHANGELOG.md [skip ci]" | ||
- name: Push changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
github_token: ${{ secrets.BOT_TOKEN }} # Use BOT_TOKEN to push on write-protected branches |