diff --git a/.github/workflows/REUSABLE_frontend.yml b/.github/workflows/REUSABLE_frontend.yml index 4926d8eed4..1003336342 100644 --- a/.github/workflows/REUSABLE_frontend.yml +++ b/.github/workflows/REUSABLE_frontend.yml @@ -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 @@ -119,6 +122,9 @@ 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') @@ -126,6 +132,8 @@ jobs: steps: - name: Check out code uses: actions/checkout@v3 + with: + token: ${{ secrets.GIT_ACTOR_TOKEN }} - name: Set up Node uses: actions/setup-node@v3