Skip to content

Commit

Permalink
Revert "Remove unncessary token from publish jobs" (#1787)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobar79 authored Dec 12, 2024
1 parent 732c48d commit 7fb119a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.REPO_TOKEN }}
- name: Check for new commits
run: |
last_commit=$(git log -1 --pretty=%B)
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish-prod-chrome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.REPO_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: "20.16.0"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish-prod-firefox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.REPO_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: "20.16.0"
Expand Down

0 comments on commit 7fb119a

Please sign in to comment.