File tree Expand file tree Collapse file tree 4 files changed +10
-33
lines changed
Expand file tree Collapse file tree 4 files changed +10
-33
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,8 @@ name: Release
22run-name : Release ${{ github.event_name == 'push' && '- Create Changeset PR' || '- Approve & Merge Changeset PR' }}
33
44on :
5- push :
6- branches :
7- - main
5+ pull_request :
6+ types : [closed]
87 pull_request_target :
98
109concurrency : ${{ github.workflow }}-${{ github.ref }}
1514jobs :
1615 release :
1716 name : Release
18- if : ${{ github.event_name == 'push' && github.actor != 'R00-B0T'}}
17+ if : >
18+ github.event_name == 'pull_request' &&
19+ github.event.pull_request.merged == true &&
20+ github.event.pull_request.base.ref == 'main'
1921 runs-on : ubuntu-latest
2022 permissions :
2123 contents : write
2931 uses : actions/setup-node@v4
3032 with :
3133 node-version : 20
32- - id : install-aws-cli
33- uses : unfor19/install-aws-cli-action@v1
34- with :
35- version : 2
36- verbose : false
37- arch : amd64
38- - name : Configure AWS Credentials
39- uses : aws-actions/configure-aws-credentials@v4
40- with :
41- aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
42- aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
43- aws-region : ${{ env.AWS_REGION }}
34+
4435 - name : NPM Install
4536 run : |
4637 npm run install:all
Original file line number Diff line number Diff line change @@ -6,4 +6,6 @@ node_modules
66.DS_Store
77
88# Builds
9- bin
9+ bin
10+
11+ prompts
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments