Skip to content

Commit d0945c2

Browse files
authored
Use protected environment for publishing secrets (#231)
1 parent fd31833 commit d0945c2

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build-daily.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ permissions:
1111

1212
jobs:
1313
publish-snapshots:
14+
environment: protected
1415
runs-on: ubuntu-latest
1516
steps:
1617
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ permissions:
77

88
jobs:
99
release:
10+
environment: protected
1011
permissions:
1112
contents: write # for creating the release
1213
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)