Skip to content

Commit

Permalink
build: fix github token for secure workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jeripeierSBB authored May 6, 2024
1 parent 491de63 commit aede55d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/continuous-integration-secure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:
if: env.PR_NUMBER != ''
# This label is used for filtering deployments in ArgoCD
run: gh issue edit ${{ env.PR_NUMBER }} --repo ${{ github.repository }} --add-label "preview-available"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

codecov:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -175,6 +177,8 @@ jobs:
- name: Remove labels when no failed screenshots exist
if: steps.screenshot-check.outputs.result == 'empty'
run: gh issue edit $PR_NUMBER --remove-label "$VISUAL_REQUIRED"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Add label and create container
if: steps.screenshot-check.outputs.result == 'changed'
Expand All @@ -188,3 +192,4 @@ jobs:
gh issue edit $PR_NUMBER --add-label "visual-regression-diff-available"
env:
DOCKER_BUILDKIT: 1
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit aede55d

Please sign in to comment.