-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (36 loc) · 1.57 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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]
jobs:
release-please:
name: Create a new release
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
token: ${{ secrets.BLACKLIGHT_RELEASE_TOKEN }}
release-type: ruby
package-name: nla-blacklight_common
bump-minor-pre-major: true
bump-patch-for-minor-pre-major: true
include-v-in-tag: false
changelog-types: >-
[
{"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}
]
version-file: "lib/nla/blacklight_common/version.rb"