Skip to content

Commit

Permalink
Merge branch 'master' into fix-annotated-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
arkaitzj authored Nov 11, 2022
2 parents 679c998 + f8de77c commit dc7fd2c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,10 @@ jobs:
concurrency:
group: release-${{ github.ref }}
steps:
# workaround for missing secret in fork PRs - see https://github.com/actions/checkout/issues/298
- if: github.event.pull_request.head.repo.full_name == github.repository
uses: actions/checkout@v3
with:
token: ${{ secrets.PAT_TOKEN }}

# in forks, the token is not available so we cannot use it
- if: github.event.pull_request.head.repo.full_name != github.repository
uses: actions/checkout@v3
token: ${{ secrets.PAT_TOKEN || github.token }}

- run: git fetch --unshallow --tags

Expand Down

0 comments on commit dc7fd2c

Please sign in to comment.