Skip to content

Commit

Permalink
use PAT to support GitHub events
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Apr 30, 2024
1 parent 821ae9d commit f851136
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/create-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

permissions:
contents: write
contents: read

jobs:
tag:
Expand All @@ -19,6 +19,11 @@ jobs:
with:
fetch-depth: 0 # also fetch tags

- uses: elastic/apm-pipeline-library/.github/actions/setup-git@current
with:
# This should help with running GitHub events
token: ${{ secrets.CREATE_TAG_TOKEN }}

- uses: actions/setup-go@v5
with:
go-version-file: go.mod
Expand Down

0 comments on commit f851136

Please sign in to comment.