Skip to content

Commit d9e1974

Browse files
authored
Merge pull request #5 from Shopify/contributing-releases
contributing: release process
2 parents d659b10 + 35685ca commit d9e1974

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.github/workflows/scorecard.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ permissions: {}
1818
jobs:
1919
analysis:
2020
name: Scorecard analysis
21-
# Shopify tends to use another runner pool, but ScoreCard's API trusts GitHub runners more.
2221
runs-on: ubuntu-latest
2322
if: github.repository_visibility == 'public'
2423
permissions:

CONTRIBUTING.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
1-
# I want to add a workflow
1+
# Development
2+
3+
### I want to add a workflow
24

35
Please open an issue for discussion.
46
It's probably welcome, but our release model of tags and Dependabot discourages workflows that will update frequently.
57

6-
# I want to change a workflow
8+
### I want to change a workflow
79

810
PRs welcome!
911

1012
Once the code has been pushed to a branch in this repository, you can modify your repository to test your feature branch. Example: `uses: Shopify/github-workflows/.github/workflows/scorecard.yaml@my-cool-branch`.
1113

1214
Testing branches does not require a PR, but feel free to open a draft and `@mention` if you'd like feedback.
1315
Ideally PRs will be able to link to at least one example of their modifications running.
16+
17+
# Releasing
18+
19+
Use the GitHub UI at https://github.com/Shopify/github-workflows/releases/new to create a new release.
20+
21+
1. Create a tag that follows semantic versioning:
22+
* If you expect users will need to change their calling workflow, e.g. to provide new inputs, increment the major version and **be sure to note the breaking change in the release notes**.
23+
* If you're adding a new workflow, or a new feature that users must opt-in to, increment the minor version.
24+
* If you fixed a bug or made a transparent change, increment the patch version.
25+
2. Leave the release title blank. If you really want to get creative, please be sure to include the version number.
26+
3. Use the automatically generated changelog as a starter, but add any additional details.

0 commit comments

Comments
 (0)