-
-
Notifications
You must be signed in to change notification settings - Fork 3
30 lines (30 loc) · 902 Bytes
/
audit.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Audit
on:
pull_request:
paths: [Cargo.toml, Cargo.lock]
types: [synchronize, opened, edited]
push:
paths: [Cargo.toml, Cargo.lock]
jobs:
skip:
name: Check Duplicate Actions
# continue-on-error: true
runs-on: ubuntu-latest
outputs:
should-skip: ${{ steps.skip-check.outputs.should_skip }}
steps:
- name: Skip Duplicate Actions (Audit)
uses: fkirc/skip-duplicate-actions@f75f66ce1886f00957d99748a42c724f4330bdcf # v5
id: skip-check
audit:
name: Audit
runs-on: ubuntu-latest
needs: skip
if: needs.skip.outputs.should-skip != 'true'
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Audit Check
uses: actions-rs/audit-check@35b7b53b1e25b55642157ac01b4adceb5b9ebef3 # renovate: tag=v1
with:
token: ${{github.token}}