Skip to content

Commit d8dcbbc

Browse files
authored
fix(ci): Set github token (#268)
1 parent 35406b1 commit d8dcbbc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
echo "EMAIL=bot@sentry.io" >> $GITHUB_ENV;
4949
5050
- name: Evaluate docker tag
51+
env:
52+
GITHUB_TOKEN: ${{ secrets.GH_SENTRY_BOT_PAT }}
5153
run: |
5254
if [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
5355
echo "DOCKER_TAG=master" >> $GITHUB_ENV

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ runs:
8484
INPUT_WORKING_DIRECTORY: ${{ inputs.working_directory }}
8585
INPUT_DISABLE_TELEMETRY: ${{ inputs.disable_telemetry }}
8686
INPUT_DISABLE_SAFE_DIRECTORY: ${{ inputs.disable_safe_directory }}
87-
uses: docker://ghcr.io/getsentry/action-release-image:ab-add-write-perms
87+
uses: docker://ghcr.io/getsentry/action-release-image:ab-add-token
8888

8989
# For actions running on macos or windows runners, we use a composite
9090
# action approach which allows us to install the arch specific sentry-cli

0 commit comments

Comments
 (0)