Skip to content

Commit

Permalink
ci: pass GH token to update-snapshots action
Browse files Browse the repository at this point in the history
  • Loading branch information
angusbayley committed Jan 2, 2025
1 parent 40c85ef commit 370af92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/generate-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ jobs:
id: update-snapshots
with:
os: ubuntu-22.04
token: ${{ secrets.GITHUB_TOKEN }}

report-start:
name: Report start
Expand Down
5 changes: 4 additions & 1 deletion tools/actions/composites/update-snapshots-desktop/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ inputs:
os:
description: "name of the os (same as runs-on)"
required: true
token:
description: "GitHub token"
required: true

runs:
using: "composite"
Expand Down Expand Up @@ -46,7 +49,7 @@ runs:
uses: swinton/[email protected]
if: ${{ steps.status.outputs.status != 0 || steps.status-windows.outputs.status != 0 }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ inputs.token }}
with:
files: |
apps/ledger-live-desktop/tests/specs*
Expand Down

0 comments on commit 370af92

Please sign in to comment.