Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix update changelog workflow #1432

Merged
merged 1 commit into from
Jan 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/documentation-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ name: documentation-build
on:
push:
branches:
- master
- master

schedule:
- cron: '10 0 * * 0'

jobs:
documentation_build:
name: Documentation Build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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