diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 8ec1912e..2739ad12 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -16,6 +16,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + token: ${{ secrets.GH_TOKEN }} - uses: release-drafter/release-drafter@v5 id: release-drafter diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ecc4cfc8..4adacd67 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,9 +22,6 @@ jobs: - name: Build API Doc uses: ./.github/actions/build-api-doc - - name: Archive Files - run: yarn archive $(poetry version -s) - - run: echo "TAG_NAME=v$(poetry version -s)" >> $GITHUB_ENV - name: Archive Changelog @@ -33,10 +30,13 @@ jobs: changelog_file: website/src/pages/changelog.md archive_title: ${{ env.TAG_NAME }} + - name: Archive Files + run: yarn archive $(poetry version -s) + - name: Push Tag run: | - git config user.name github-actions - git config user.email github-actions@github.com + git config user.name github-actions[bot] + git config user.email github-actions[bot]@users.noreply.github.com git add . git commit -m ":bookmark: Release $(poetry version -s)" git tag ${{ env.TAG_NAME }}