Skip to content

Commit 3bc4feb

Browse files
author
Stephan Dilly
committed
enable but ignore certain audits
1 parent 4d05dea commit 3bc4feb

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

.cargo/audit.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[advisories]
2+
ignore = [
3+
# see https://github.com/extrawurst/gitui/issues/951
4+
"RUSTSEC-2020-0159",
5+
# see https://github.com/extrawurst/gitui/issues/950
6+
"RUSTSEC-2020-0071"]

.github/workflows/ci.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -142,18 +142,15 @@ jobs:
142142
components: rustfmt
143143
- run: cargo fmt -- --check
144144

145-
# TODO: enable again once we have these two fixed:
146-
# https://github.com/extrawurst/gitui/issues/950
147-
# https://github.com/extrawurst/gitui/issues/951
148-
#
149-
# sec:
150-
# name: Security audit
151-
# runs-on: ubuntu-latest
152-
# steps:
153-
# - uses: actions/checkout@v2
154-
# - uses: actions-rs/audit-check@v1
155-
# with:
156-
# token: ${{ secrets.GITHUB_TOKEN }}
145+
146+
sec:
147+
name: Security audit
148+
runs-on: ubuntu-latest
149+
steps:
150+
- uses: actions/checkout@v2
151+
- uses: actions-rs/audit-check@v1
152+
with:
153+
token: ${{ secrets.GITHUB_TOKEN }}
157154

158155
log-test:
159156
name: Changelog Test

0 commit comments

Comments
 (0)