Skip to content

Commit

Permalink
Set GH_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
rmanaem committed Dec 3, 2024
1 parent 9b934c3 commit 03fdca8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build_docker_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ jobs:
# Some repos have submodules that need to be part of the Docker image
with:
submodules: recursive

- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.NB_BOT_ID }}
private-key: ${{ secrets.NB_BOT_KEY }}

- name: Set GH_TOKEN
run: echo "GH_TOKEN=${{ steps.generate-token.outputs.token }}" >> $GITHUB_ENV

- name: Get PR number
id: get_pr_number
Expand Down

0 comments on commit 03fdca8

Please sign in to comment.