Skip to content

Commit 1cdf981

Browse files
committed
Minor updates
1 parent 4ebd331 commit 1cdf981

File tree

4 files changed

+10
-33
lines changed

4 files changed

+10
-33
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ name: Release
22
run-name: Release ${{ github.event_name == 'push' && '- Create Changeset PR' || '- Approve & Merge Changeset PR' }}
33

44
on:
5-
push:
6-
branches:
7-
- main
5+
pull_request:
6+
types: [closed]
87
pull_request_target:
98

109
concurrency: ${{ github.workflow }}-${{ github.ref }}
@@ -15,7 +14,10 @@ env:
1514
jobs:
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
@@ -29,18 +31,7 @@ jobs:
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

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ node_modules
66
.DS_Store
77

88
# Builds
9-
bin
9+
bin
10+
11+
prompts

docs/cline-updates.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/cypress-cloud.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)