Skip to content

Commit 00c44e6

Browse files
authored
ci: Run publish action on production (#6627)
This change will allow us to give write access to repo once we move all the secrets to the `production` environment as we can restrict environment to the `main` branch only, preventing secret leakage on PRs. We only have the `NPM_TOKEN` moved there and will be testing this before moving over all the secrets, removing them and opening the repo up.
1 parent 497cf39 commit 00c44e6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
jobs:
66
publish:
77
runs-on: ubuntu-latest
8+
environment: production
89
name: Publish a new version
910
if: github.event.label.name == 'accepted' && github.event.issue.state == 'open'
1011
timeout-minutes: 90

0 commit comments

Comments
 (0)