Skip to content

Commit 240326f

Browse files
chore: onboard shared workflows (#59)
1 parent ab8aefa commit 240326f

4 files changed

Lines changed: 61 additions & 10 deletions

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<!--
2+
When creating a PR, be sure to prepend the PR title with the Conventional Commit type (`feat`, `fix`, or `chore`). This is how we manage package versioning and generating CHANGELOG notes.
3+
4+
Examples:
5+
- "feat: add growl notification to spaces:wait"
6+
- "fix: handle special characters in app names"
7+
- "chore: add dist directory to .gitignore"
8+
9+
The expected Conventional Commit types are listed below.
10+
11+
Learn more about [Conventional Commits](https://www.conventionalcommits.org/).
12+
-->
13+
14+
## Summary
15+
<!-- Brief description of the changes in this PR. -->
16+
17+
## Type of Change
18+
### Breaking Changes (major semver update)
19+
- [ ] Add a `!` after your change type to denote a change that breaks current behavior
20+
21+
### Feature Additions (minor semver update)
22+
- [ ] **feat**: Introduces a new feature to the codebase
23+
24+
### Patch Updates (patch semver update)
25+
- [ ] **fix**: Bug fix
26+
- [ ] **perf**: Performance improvement
27+
- [ ] **deps**: Dependency upgrade
28+
- [ ] **revert**: Revert a previous commit
29+
- [ ] **docs**: Documentation change
30+
- [ ] **style**: Styling update
31+
- [ ] **chore**: Change that does not affect production code
32+
- [ ] **refactor**: Refactoring existing code without changing behavior
33+
- [ ] **tests**: Add/update/remove tests
34+
- [ ] **build**: Change to the build system
35+
- [ ] **ci**: Continuous integration workflow update
36+
37+
## Testing
38+
**Notes**:
39+
<!-- Add any context/setup necessary for testing. -->
40+
41+
**Steps**:
42+
1. Replace this text with a list of steps used to validate changes or type 'Passing CI suffices'.
43+
2. ...
44+
45+
## Screenshots (if applicable)
46+
47+
## Related Issues
48+
GitHub issue: #[GitHub issue number]
49+
GUS work item: [WI number](WI link)

.github/workflows/release-on-push.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
contents: write
1717
pull-requests: write
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020

2121
- name: Checkout workflows repository
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v6
2323
with:
2424
repository: heroku/npm-release-workflows
2525
token: ${{ secrets.WORKFLOWS_ACCESS_GITHUB_TOKEN }}
@@ -31,3 +31,4 @@ jobs:
3131
with:
3232
package-manager: yarn # npm | yarn | pnpm
3333
branch_name: ${{ github.ref_name }}
34+
token: ${{ secrets.WORKFLOWS_ACCESS_GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
validate:
1616
runs-on: pub-hk-ubuntu-24.04-ip # Options: ubuntu-latest | sfdc-hk-ubuntu-latest | pub-hk-ubuntu-24.04-ip
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1919

2020
- name: Checkout workflows repository
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2222
with:
2323
repository: heroku/npm-release-workflows
2424
token: ${{ secrets.WORKFLOWS_ACCESS_GITHUB_TOKEN }}
@@ -49,10 +49,10 @@ jobs:
4949
no_release_needed: ${{ steps.release-workflow.outputs.no_release_needed }}
5050
pr_already_exists: ${{ steps.release-workflow.outputs.pr_already_exists }}
5151
steps:
52-
- uses: actions/checkout@v4
52+
- uses: actions/checkout@v6
5353

5454
- name: Checkout workflows repository
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@v6
5656
with:
5757
repository: heroku/npm-release-workflows
5858
token: ${{ secrets.WORKFLOWS_ACCESS_GITHUB_TOKEN }}
@@ -66,6 +66,7 @@ jobs:
6666
package-manager: yarn # npm | yarn | pnpm
6767
branch_name: ${{ github.ref_name }}
6868
dry_run: ${{ inputs.dry_run }}
69+
token: ${{ secrets.WORKFLOWS_ACCESS_GITHUB_TOKEN }}
6970

7071
publish:
7172
needs: release-please-pr
@@ -76,10 +77,10 @@ jobs:
7677
pull-requests: write
7778
id-token: write
7879
steps:
79-
- uses: actions/checkout@v4
80+
- uses: actions/checkout@v6
8081

8182
- name: Checkout workflows repository
82-
uses: actions/checkout@v4
83+
uses: actions/checkout@v6
8384
with:
8485
repository: heroku/npm-release-workflows
8586
token: ${{ secrets.WORKFLOWS_ACCESS_GITHUB_TOKEN }}

.github/workflows/update-release-configs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
contents: write
1313
pull-requests: write
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616

1717
- name: Checkout workflows repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919
with:
2020
repository: heroku/npm-release-workflows
2121
token: ${{ secrets.WORKFLOWS_ACCESS_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)