Add permissions block
This commit is contained in:
parent
acec67c2bb
commit
e9a7860f3f
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -7,7 +7,10 @@ on:
|
||||
|
||||
jobs:
|
||||
typescript-action:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
5
.github/workflows/update.yml
vendored
5
.github/workflows/update.yml
vendored
@ -7,7 +7,10 @@ on:
|
||||
|
||||
jobs:
|
||||
lockfile:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
2
.github/workflows/validate.yml
vendored
2
.github/workflows/validate.yml
vendored
@ -7,7 +7,7 @@ on:
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user