actions-rs / audit-check

🛡️ GitHub Action for security audits
https://github.com/marketplace/actions/rust-audit-check
MIT License
170 stars 39 forks source link

Cron syntax wrong? #219

Open vn971 opened 2 years ago

vn971 commented 2 years ago

Do the checklist before filing an issue:

Description

The recommended "Scheduled audit" workflow seems to not work: https://github.com/marketplace/actions/rust-audit-check#scheduled-audit

Workflow code

https://github.com/vn971/rm_rf/blob/master/.github/workflows/cargo-audit.yml

name: cargo audit

on:
  schedule:
    - cron: '0 0 0 * *'
  push:
    paths:
      - '**/Cargo.toml'
      - '**/Cargo.lock'
  pull_request:

jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/audit-check@issue-104
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

Action output

https://github.com/vn971/rm_rf/actions/runs/2272630581/workflow

Expected behavior

The workflow yml should be valid, the workflow should be able to start (as opposed to syntax failure).

Additional context

The observed behavior occurs in a very small and public repo, this one: https://github.com/vn971/rm_rf