Skip to content

Commit

Permalink
fix update changelog workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
epassaro committed Jan 30, 2021
1 parent 4c346f0 commit 4e97130
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
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 "wkerzendorf+tardis@gmail.com"
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

0 comments on commit 4e97130

Please sign in to comment.