1
0
Fork 0
mirror of https://github.com/astral-sh/setup-uv.git synced 2025-04-06 23:48:49 -04:00

Set required workflow permissions ()

This commit is contained in:
Kevin Stillhammer 2025-03-18 15:21:29 +01:00 committed by GitHub
parent 04c950a723
commit 389b596663
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: B5690EEEBB952194
7 changed files with 20 additions and 0 deletions

View file

@ -12,6 +12,9 @@ jobs:
update_release_draft:
name: ✏️ Draft release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
steps:
- name: 🚀 Run Release Drafter
uses: release-drafter/release-drafter@v6.1.0

View file

@ -12,6 +12,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test-setup-cache:
runs-on: windows-latest

View file

@ -12,6 +12,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test-setup-cache:
runs-on: ${{ matrix.os }}

View file

@ -12,6 +12,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test-default-version:
runs-on: windows-latest

View file

@ -12,6 +12,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest

View file

@ -7,6 +7,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4

View file

@ -12,6 +12,8 @@ jobs:
update_major_minor_tags:
name: Make sure major and minor tags are up to date on a patch release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Update Major Minor Tags