Skip to content

Commit

Permalink
ci: allow deps as semantic PR title prefix
Browse files Browse the repository at this point in the history
This also bumps the amannn/action-semantic-pull-request action version

ci: bump release-please action version and specify section types
  • Loading branch information
dcroote committed Jul 12, 2023
1 parent 0487bf4 commit 344ec91
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/conventional-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ jobs:
title-format:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v3.4.0
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
fix
feat
docs
style
refactor
perf
test
build
ci
chore
revert
deps
8 changes: 4 additions & 4 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:

- uses: GoogleCloudPlatform/release-please-action@v2
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: rust
package-name: bio-types
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"deps","section":"Dependencies","hidden":false}]'

- uses: actions/checkout@v2
if: ${{ steps.release.outputs.release_created }}
Expand All @@ -28,10 +28,10 @@ jobs:

- uses: Swatinem/[email protected]
if: ${{ steps.release.outputs.release_created }}

- name: Publish crate
if: ${{ steps.release.outputs.release_created }}
uses: actions-rs/cargo@v1
with:
command: publish
args: --token ${{ secrets.CRATES_IO_TOKEN }}
args: --token ${{ secrets.CRATES_IO_TOKEN }}

0 comments on commit 344ec91

Please sign in to comment.