Skip to content

Commit ae1cf60

Browse files
committed
Use protected environment for publishing secrets
1 parent 68d1486 commit ae1cf60

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build-daily.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
uses: ./.github/workflows/reusable-lint.yml
2222

2323
publish-snapshots:
24+
environment: protected
2425
needs:
2526
- common
2627
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
1818

1919
release:
20+
environment: protected
2021
permissions:
2122
contents: write # for creating the release
2223
id-token: write # for signing artifacts with Sigstore

.github/workflows/sonatype-guide-dependency-audit-daily.yml

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

1313
jobs:
1414
analyze:
15+
environment: protected
1516
runs-on: ubuntu-latest
1617
steps:
1718
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

0 commit comments

Comments
 (0)