Skip to content

Commit f0a7e3f

Browse files
authored
Merge pull request #2 from test-dbj/ci/safe-settings
ci(safe-settings): improve security using deployment environments
2 parents 6afcda3 + a963e20 commit f0a7e3f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/safe-settings.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
permissions:
1616
contents: read
1717
runs-on: ubuntu-24.04
18+
environment: ${{ github.ref_name == github.event.repository.default_branch && 'production' || 'test' }}
1819
env:
1920
# Version/tag of `github/safe-settings` repository to use:
2021
SAFE_SETTINGS_VERSION: ff7a65655d33006b9820479df0a9e1057a8927e4 # 2.1.17

0 commit comments

Comments
 (0)