diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml new file mode 100644 index 000000000..bd9167f94 --- /dev/null +++ b/.github/workflows/audit.yml @@ -0,0 +1,16 @@ +name: Code Audit Check +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@v2.0.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/scheduled.yml b/.github/workflows/stale.yaml similarity index 80% rename from .github/workflows/scheduled.yml rename to .github/workflows/stale.yaml index 714dfea59..6f62fa829 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/stale.yaml @@ -1,20 +1,3 @@ -name: Code Audit Check -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@v2.0.0 - with: - token: ${{ secrets.GITHUB_TOKEN }} ---- name: Stale Issue and PR Cleanup on: workflow_dispatch: true