Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Cron syntax wrong? #219

Open
2 of 3 tasks
vn971 opened this issue May 5, 2022 · 0 comments
Open
2 of 3 tasks

Cron syntax wrong? #219

vn971 opened this issue May 5, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@vn971
Copy link

vn971 commented May 5, 2022

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

@vn971 vn971 added the bug Something isn't working label May 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant