Public Access
Updates to v1.3.2 with node16
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
# Rust `audit-check` Action
|
||||
|
||||

|
||||
[](https://gitter.im/actions-rs/community)
|
||||
|
||||
> Security vulnerabilities audit
|
||||
|
||||
@@ -28,7 +27,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions-rs/audit-check@v1
|
||||
- uses: rustsec/audit-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
@@ -44,6 +43,27 @@ Note that informational advisories are not affecting the check status.
|
||||
|
||||

|
||||
|
||||
#### Granular Permissions
|
||||
|
||||
These are the typically used permissions:
|
||||
|
||||
```yaml
|
||||
name: 'rust-audit-check'
|
||||
github-token:
|
||||
action-input:
|
||||
input: token
|
||||
is-default: false
|
||||
permissions:
|
||||
issues: write
|
||||
issues-reason: to create issues
|
||||
checks: write
|
||||
checks-reason: to create check
|
||||
```
|
||||
|
||||
The action does not raise issues when it is not triggered from a "cron" scheduled workflow.
|
||||
|
||||
When running the action as scheduled it will crate issues but e.g. in PR / push fails the action.
|
||||
|
||||
#### Limitations
|
||||
|
||||
Due to [token permissions](https://help.github.com/en/articles/virtual-environments-for-github-actions#token-permissions),
|
||||
|
||||
Reference in New Issue
Block a user