Skip to content

Commit ae56839

Browse files
authored
Merge pull request #2721 from reubenmiller/ci-use-pat-for-git-tagging
ci: use PAT when creating tag
2 parents 55666f2 + 36bd88e commit ae56839

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/autotag.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ on:
99
jobs:
1010
create_tag:
1111
runs-on: ubuntu-latest
12+
if: github.repository_owner == 'thin-edge'
1213
steps:
1314
- name: Checkout
1415
uses: actions/checkout@v4
1516
with:
1617
fetch-depth: 0
18+
token: ${{secrets.ACTIONS_PAT}}
1719
- name: Create tag if changed
18-
if: github.repository_owner == 'thin-edge'
1920
run: |
2021
VERSION=$(yq '.workspace.package.version' Cargo.toml)
2122
if [ -z "$VERSION" ]; then

0 commit comments

Comments
 (0)