Skip to content

Commit 49c46d0

Browse files
authored
ci(release): reduce permissions, avoid persisting credentials (#20)
1 parent e8c9b9c commit 49c46d0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • {{cookiecutter.project_name|replace(" ", "")}}/.github/workflows

{{cookiecutter.project_name|replace(" ", "")}}/.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@ jobs:
1717
runs-on: ubuntu-24.04
1818
permissions:
1919
contents: write
20-
pull-requests: write
2120
outputs:
2221
tag: ${{ "{{ steps.release.outputs.tag }}" }}
2322
steps:
2423
- name: Checkout the repository
2524
uses: actions/checkout@v4
2625
with:
2726
fetch-depth: 0
28-
token: ${{ "{{ secrets.GITHUB_TOKEN }}" }}
27+
persist-credentials: 'false'
2928

3029
- name: Bootstrap repository
3130
uses: ./.github/actions/bootstrap

0 commit comments

Comments
 (0)