Skip to content

Commit

Permalink
chore: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Jan 9, 2025
1 parent 1fbbf25 commit d671f6e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/REUSABLE_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,6 @@ 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')
Expand Down Expand Up @@ -160,7 +157,6 @@ jobs:
- name: JS Checks & Production Build
uses: glowingblue/action-build@di/custom-actor
with:
github_token: ${{ secrets.git_actor_token != '' && secrets.git_actor_token || secrets.GITHUB_TOKEN }}
build_script: ${{ inputs.build_script }}
build_typings_script: ${{ inputs.build_typings_script }}
format_script: ${{ inputs.enable_prettier == true && inputs.format_script || '' }}
Expand All @@ -172,6 +168,8 @@ jobs:
do_not_commit: ${{ github.ref != format('refs/heads/{0}', inputs.main_git_branch) || github.event_name != 'push' }}
git_actor_name: ${{ inputs.git_actor_name || '' }}
git_actor_email: ${{ inputs.git_actor_email || '' }}
env:
GIT_PUSH_TOKEN: ${{ secrets.git_actor_token != '' && secrets.git_actor_token || secrets.GITHUB_TOKEN }}

- name: Check bundle size change
if: ${{ inputs.enable_bundlewatch }}
Expand Down

0 comments on commit d671f6e

Please sign in to comment.