Repository navigation
ci: release the skeleton with release-please #66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
8e8aca6
ci: prefix Dependabot commits with chore
aryanjasala b28c9bd
ci: cut releases of the skeleton with release-please
aryanjasala ce4c8d4
feat(init): give new plugins release-please of their own
aryanjasala 8f8d061
docs(init): drop the note about a reusable release workflow
aryanjasala 3322a28
ci: release only the skeleton itself, drop the init release feature
aryanjasala 98acec2
ci: keep the skeleton's release config in .github/release-starter/
aryanjasala 1355356
ci: make Dependabot updates releasable
aryanjasala File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| { | ||
| "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", | ||
|
aryanjasala marked this conversation as resolved.
Resolved
|
||
| "packages": { | ||
| ".": { | ||
| "release-type": "node", | ||
| "changelog-path": "CHANGELOG.md", | ||
| "include-v-in-tag": true, | ||
| "include-component-in-tag": false, | ||
| "changelog-sections": [ | ||
| { | ||
| "type": "feat", | ||
| "section": "Added" | ||
| }, | ||
| { | ||
| "type": "fix", | ||
| "section": "Fixed" | ||
| }, | ||
| { | ||
| "type": "perf", | ||
| "section": "Changed" | ||
| }, | ||
| { | ||
| "type": "revert", | ||
| "section": "Changed" | ||
| }, | ||
| { | ||
| "type": "build", | ||
| "section": "Changed" | ||
| }, | ||
|
aryanjasala marked this conversation as resolved.
Resolved
|
||
| { | ||
| "type": "docs", | ||
| "section": "Documentation", | ||
| "hidden": true | ||
| }, | ||
| { | ||
| "type": "style", | ||
| "section": "Styles", | ||
| "hidden": true | ||
| }, | ||
| { | ||
| "type": "chore", | ||
| "section": "Miscellaneous", | ||
| "hidden": true | ||
| }, | ||
| { | ||
| "type": "refactor", | ||
| "section": "Code Refactoring", | ||
| "hidden": true | ||
| }, | ||
| { | ||
| "type": "test", | ||
| "section": "Tests", | ||
| "hidden": true | ||
| }, | ||
| { | ||
| "type": "ci", | ||
| "section": "Continuous Integration", | ||
| "hidden": true | ||
| } | ||
| ], | ||
| "extra-files": [ | ||
| { | ||
| "type": "generic", | ||
| "path": "project-name-features.php" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| ".": "1.0.0" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| name: Release (skeleton) | ||
|
|
||
| # release-please reads the Conventional Commit subjects squash-merged to main and keeps one | ||
| # release pull request open that bumps the version and writes CHANGELOG.md. Merging that pull | ||
| # request tags vX.Y.Z on main and publishes the GitHub release with the changelog entry as notes. | ||
| # | ||
| # The release pull request is opened with GITHUB_TOKEN, so GitHub starts no workflow runs on it | ||
| # (no tests, no PR title check). That is why neither check is a required status check. Switching | ||
| # the token below to a GitHub App token would give the release pull request its CI runs. | ||
| # | ||
| # This file releases the skeleton itself, from the config and manifest in .github/release-starter/. | ||
| # Init cleanup removes all of them, so projects made from the skeleton don't inherit them. | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| # Serialise runs so two merges in quick succession can't race on the release pull request. | ||
| concurrency: | ||
| group: release | ||
|
aryanjasala marked this conversation as resolved.
Resolved
|
||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| release-please: | ||
| name: Release Please | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
| issues: write | ||
| pull-requests: write | ||
| steps: | ||
| - name: Open or update the release pull request, or publish the release | ||
| uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0 | ||
| with: | ||
| token: ${{ github.token }} | ||
| config-file: .github/release-starter/config.json | ||
| manifest-file: .github/release-starter/manifest.json | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.