Skip to content

Commit 13b9186

Browse files
authored
Reduce workflow permissions (#173)
1 parent d8d1483 commit 13b9186

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/pre-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
paths:
66
- '.github/project.yml'
77

8+
permissions:
9+
contents: read
10+
pull-requests: read
11+
812
concurrency:
913
group: ${{ github.workflow }}-${{ github.ref }}
1014
cancel-in-progress: true

.github/workflows/quarkus-snapshot.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ env:
1818

1919
ECOSYSTEM_CI_REPO_PATH: quarkiverse-embedded-postgresql
2020

21+
permissions:
22+
contents: read
23+
24+
concurrency:
25+
group: ${{ github.workflow }}-${{ github.ref }}
26+
cancel-in-progress: true
27+
28+
defaults:
29+
run:
30+
shell: bash
31+
2132
jobs:
2233
build:
2334
name: "Build against latest Quarkus snapshot"

0 commit comments

Comments
 (0)