Skip to content

Commit 0af4a7f

Browse files
ci: pass github token
1 parent 9aa7037 commit 0af4a7f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/_reusable_compress-images.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
name: Compress Images
99
on:
1010
workflow_call: # this allows the workflow to be reused
11+
secrets:
12+
github-token:
13+
description: 'GitHub token for Git operations and API calls'
14+
required: true
1115

1216
jobs:
1317
compress:

.github/workflows/compress-image.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ jobs:
1515
permissions:
1616
contents: write
1717
pull-requests: write
18-
uses: ./.github/workflows/_reusable_compress-images.yml
18+
uses: ./.github/workflows/_reusable_compress-images.yml
19+
secrets:
20+
github-token: ${{ secrets.BONITA_CI_PAT }}

0 commit comments

Comments
 (0)