mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-12 02:47:15 +00:00
ci: don't run changelog check on chores and refactor PRs
We don't always want to write a changelog entry or bump the version of a crate when we make changes to it. This especially applies to refactorings and other chores. We can automatically detect such PRs based on our conventional commit title. At the moment, this is not per crate but could be extended in the future. For now, this should be good enough to unblock PRs that are currently stuck on this workflow. Pull-Request: #4658.
This commit is contained in:
parent
29c44e8576
commit
c91ecbc8a2
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -73,7 +73,10 @@ jobs:
|
||||
test "$PACKAGE_VERSION" = "$SPECIFIED_VERSION"
|
||||
|
||||
- name: Ensure manifest and CHANGELOG are properly updated
|
||||
if: github.event_name == 'pull_request'
|
||||
if: >
|
||||
github.event_name == 'pull_request' &&
|
||||
!startsWith(github.event.pull_request.title, 'chore') &&
|
||||
!startsWith(github.event.pull_request.title, 'refactor')
|
||||
run: |
|
||||
git fetch origin master:master
|
||||
./scripts/ensure-version-bump-and-changelog.sh
|
||||
|
@ -8,12 +8,6 @@
|
||||
|
||||
[PR 4547]: https://github.com/libp2p/rust-libp2p/pull/4547
|
||||
|
||||
<!-- Internal changes:
|
||||
|
||||
- Fix lints in tests
|
||||
|
||||
-->
|
||||
|
||||
## 0.44.5
|
||||
- Migrate to `quick-protobuf-codec` crate for codec logic.
|
||||
See [PR 4501].
|
||||
|
Loading…
x
Reference in New Issue
Block a user