Skip to content

Commit

Permalink
Merge pull request #2721 from reubenmiller/ci-use-pat-for-git-tagging
Browse files Browse the repository at this point in the history
ci: use PAT when creating tag
  • Loading branch information
reubenmiller authored Feb 15, 2024
2 parents 55666f2 + 36bd88e commit ae56839
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/autotag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ on:
jobs:
create_tag:
runs-on: ubuntu-latest
if: github.repository_owner == 'thin-edge'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{secrets.ACTIONS_PAT}}
- name: Create tag if changed
if: github.repository_owner == 'thin-edge'
run: |
VERSION=$(yq '.workspace.package.version' Cargo.toml)
if [ -z "$VERSION" ]; then
Expand Down

0 comments on commit ae56839

Please sign in to comment.