Skip to content

Commit

Permalink
Add action to remind people to update DB readme (#2364)
Browse files Browse the repository at this point in the history
# Description
So we don't need @MartinquaXD for comments like
[this](#2359 (comment))

Uses https://github.com/ethanis/nitpicker

# Changes
- [x] Add new step to existing workflow

## How to test
https://github.com/fleupold/weekly-release-action/pull/7
  • Loading branch information
fleupold authored Feb 6, 2024
1 parent ab1143c commit f14f127
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/nitpicks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- markdown: |
Reminder: Please update the DB Readme.
pathFilter:
- "database/sql/**"
9 changes: 9 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ jobs:
cargo clippy --version
- run: cargo +nightly fmt --all -- --check
- run: cargo clippy --locked --workspace --all-features --all-targets -- -D warnings

nitpicker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ethanis/nitpicker@v1
with:
nitpicks: ".github/nitpicks.yml"
token: "${{ secrets.GITHUB_TOKEN }}"

unit-tests:
timeout-minutes: 60
Expand Down

0 comments on commit f14f127

Please sign in to comment.