Skip to content

Commit

Permalink
Merge pull request #474 from nla/ci/upgrade-release-please-action
Browse files Browse the repository at this point in the history
ci: upgrade release-please workflow
  • Loading branch information
yetti authored Jun 25, 2024
2 parents d5a3e48 + 4a752ca commit 8526daf
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 113 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/release-hotfix.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/release-main.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This workflow creates a release pull request whenever a change is pushed to 'main'.
# When the release pull request is merged into 'main', it will automatically create and tag a new
# release version.

name: Release automation
on:
push:
branches:
- "main"
- "hotfix/*"
jobs:
release-please:
permissions:
contents: write
pull-requests: write
name: Create a new release
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.BLACKLIGHT_RELEASE_TOKEN }}
target-branch: ${{ github.ref_name }}
38 changes: 0 additions & 38 deletions .github/workflows/release.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "3.3.0"
}
71 changes: 71 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"release-type": "ruby",
"packages": {
".": {
"release-type": "ruby",
"package-name": "nla-arclight",
"bootstrap-sha": "49505084f3090fd08d39e89c791d0c5d1d72933c",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"include-v-in-tag": false,
"version-file": "config/application.rb",
"changelog-sections": [
{
"type": "feat",
"section": "Features",
"hidden": false
},
{
"type": "fix",
"section": "Bug Fixes",
"hidden": false
},
{
"type": "perf",
"section": "Performance Improvements",
"hidden": false
},
{
"type": "revert",
"section": "Reverts",
"hidden": false
},
{
"type": "docs",
"section": "Documentation",
"hidden": false
},
{
"type": "style",
"section": "Styles",
"hidden": false
},
{
"type": "chore",
"section": "Miscellaneous",
"hidden": false
},
{
"type": "refactor",
"section": "Code Refactoring",
"hidden": false
},
{
"type": "test",
"section": "Tests",
"hidden": false
},
{
"type": "build",
"section": "Build System",
"hidden": false
},
{
"type": "ci",
"section": "Continuous Integration",
"hidden": false
}
]
}
}
}

0 comments on commit 8526daf

Please sign in to comment.