More changelog fixes (#1092)

* add bot token since gh actions doesn't allow pushing to protected branch
* add a max for issues, since we keep getting rate limited
* add jrnl bot username to commit step
* change token for git repo
This commit is contained in:
Jonathan Wren 2020-11-21 15:11:58 -08:00 committed by GitHub
parent 142e6f597e
commit d68b9e1ca1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,10 +10,13 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.JRNL_BOT_TOKEN }}
- name: Check branch for new commits
run: |
git fetch origin
git fetch --tags origin
BRANCH="${GITHUB_REF##*/}"
if [[ $(git rev-parse "origin/$BRANCH") != $GITHUB_SHA ]]; then
echo "BRANCH: $BRANCH"
@ -56,6 +59,7 @@ jobs:
excludeLabels: stale,wontfix
excludeTagsRegex: '(alpha|beta|rc)'
sinceTag: ${{ env.gittag }}
maxIssues: 150
releaseUrl: https://pypi.org/project/jrnl/%s/
verbose: false