Skip to content

Commit cd18eb0

Browse files
AmygosCopilot
andcommitted
chore: add workflow permissions to build pipeline
Restrict GitHub Actions workflow permissions to minimum required privileges. Add read permission to build job and write permission to release job for creating releases. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b77d513 commit cd18eb0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Build and release Falconieri
33
on:
44
push:
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
build:
811
runs-on: ubuntu-latest
@@ -25,6 +28,8 @@ jobs:
2528
runs-on: ubuntu-latest
2629
if: startsWith(github.ref, 'refs/tags/')
2730
needs: build
31+
permissions:
32+
contents: write
2833
steps:
2934
- uses: actions/checkout@v6
3035
- uses: actions/download-artifact@v8.0.1

0 commit comments

Comments
 (0)