Skip to content

Commit 8780f15

Browse files
committed
Workflows: add the permissions block
1 parent 7904bc2 commit 8780f15

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build-all.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Build all
22

3+
permissions:
4+
contents: read
5+
actions: write
6+
37
on:
48
workflow_dispatch:
59
inputs:

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ on:
4646
description: "The name of the artifact"
4747
value: ${{ jobs.build.outputs.artifact }}
4848

49+
permissions:
50+
contents: read
51+
actions: write
52+
4953
jobs:
5054
build:
5155
outputs:

0 commit comments

Comments
 (0)