Skip to content

Commit 4184c91

Browse files
committed
ci(release): set GitHub Environment for release job
ensure adequate security posture of secrets by defining a restrictive environment to execute delivery job.
1 parent 8ed1ea0 commit 4184c91

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212

1313
release:
1414
if: ${{ github.event.workflow_run.conclusion == 'success' }}
15+
environment:
16+
name: production
17+
url: https://www.npmjs.com/package/jest-serial-runner
1518
runs-on: ubuntu-latest
1619
steps:
1720
- name: git checkout HEAD

0 commit comments

Comments
 (0)