diff options
author | Rina Fujino <18257209+rina23q@users.noreply.github.com> | 2022-08-02 14:36:52 +0200 |
---|---|---|
committer | Rina Fujino <18257209+rina23q@users.noreply.github.com> | 2022-08-02 14:36:52 +0200 |
commit | f798106c1df4495fec9edebe93415d9883cdaafd (patch) | |
tree | 7872d9e8527ac1bec4d8fa81b93230f12c2fafc4 | |
parent | ff57ca361c92938ec2f5fb23a7f1ab1b6b4431fd (diff) |
Add "needs" on the Udeps job to run after Rust code changes
All jobs that require the filtering result must run after the filtering
job finishes. Refer to https://github.com/dorny/paths-filter#examples.
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
-rw-r--r-- | .github/workflows/pull-request-checks.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/pull-request-checks.yml b/.github/workflows/pull-request-checks.yml index e0385719..151df0b9 100644 --- a/.github/workflows/pull-request-checks.yml +++ b/.github/workflows/pull-request-checks.yml @@ -48,6 +48,7 @@ jobs: udeps: name: Check for unused dependencies runs-on: ubuntu-latest + needs: changes if: ${{ needs.changes.outputs.rust == 'true' || needs.changes.outputs.workflows == 'true' }} steps: - uses: actions/checkout@v3 |