From d68b9e1ca1fff4a5050f3f01d9f30145db7fb49a Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Sat, 21 Nov 2020 15:11:58 -0800 Subject: [PATCH] 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 --- .github/workflows/changelog.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml index 2a53f291..8bc90605 100644 --- a/.github/workflows/changelog.yaml +++ b/.github/workflows/changelog.yaml @@ -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