Skip to content

Commit

Permalink
chore: debug missing authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Oct 18, 2024
1 parent b7eeb7d commit b73fc76
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/REUSABLE_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ on:
composer_auth:
description: The Composer auth tokens to use for private packages.
required: false
git_actor_token:
description: The Personal Access Token forthe git actor.
required: false

env:
COMPOSER_ROOT_VERSION: dev-main
Expand All @@ -119,13 +122,18 @@ jobs:
build:
name: Checks & Build
runs-on: ${{ inputs.runner_type }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_ACTOR_TOKEN: ${{ secrets.git_actor_token }}

if: >-
((github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) || github.event_name != 'pull_request')
steps:
- name: Check out code
uses: actions/checkout@v3
with:
token: ${{ secrets.GIT_ACTOR_TOKEN }}

- name: Set up Node
uses: actions/setup-node@v3
Expand Down

0 comments on commit b73fc76

Please sign in to comment.