diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 8371d6f3b5..0abb64d6b9 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -20,9 +20,22 @@ jobs: # github_token: ${{ secrets.GITHUB_TOKEN }} - uses: actions/checkout@v4 + + # We set up a GitHub App in order to ensure that workflows are run on the PRs + # created by us, following the instructions here: + # + # The bot can also be set up for personal forks of this repository, for testing + # and debugging, see . + - uses: tibdex/github-app-token@v1 + id: generate-token + with: + app_id: ${{ secrets.APP_ID }} + private_key: ${{ secrets.APP_PRIVATE_KEY }} + - uses: rickstaa/action-create-tag@v1 id: "tag_create" with: + github_token: ${{ steps.generate-token.outputs.token }} tag: "nightly" force_push_tag: true message: "Nightly build"