Skip to content

Commit

Permalink
ci: allow deps as semantic PR title prefix (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcroote committed Mar 26, 2024
1 parent d7f09cd commit 7ce897c
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
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
Expand Up @@ -10,12 +10,12 @@ jobs:
if: github.repository_owner == 'rust-bio'
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
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 @@ -30,11 +30,11 @@ jobs:
- name: Install system dependencies
if: ${{ steps.release.outputs.release_created }}
run: |
sudo apt-get install --yes zlib1g-dev libbz2-dev musl musl-dev musl-tools clang libc6-dev
sudo apt-get install --yes zlib1g-dev libbz2-dev musl musl-dev musl-tools clang libc6-dev
- uses: Swatinem/rust-cache@v1.3.0
if: ${{ steps.release.outputs.release_created }}

- name: Publish crate
if: ${{ steps.release.outputs.release_created }}
uses: actions-rs/cargo@v1
Expand Down

0 comments on commit 7ce897c

Please sign in to comment.