Skip to content

Commit

Permalink
add permissions to scheduled job and missing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraser999 committed Apr 3, 2024
1 parent b44e187 commit 9e58293
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ name: Scheduled
on:
schedule:
- cron: '0 0 * * *'

jobs:
audit:
permissions:
issues: write
checks: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: rustsec/audit-check@v1.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
- uses: rustsec/audit-check@v1.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}

rust:
runs-on: buildjet-8vcpu-ubuntu-2204
needs: run_checker
Expand Down

0 comments on commit 9e58293

Please sign in to comment.