Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github-actions: support schedule cron #299

Open
pjfanning opened this issue Jun 12, 2022 · 1 comment
Open

github-actions: support schedule cron #299

pjfanning opened this issue Jun 12, 2022 · 1 comment

Comments

@pjfanning
Copy link
Contributor

Github Actions yml supports setting a schedule param. It would be nice to have sbt-typelevel-github-actions support an sbt param that allows users to set this.

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]
  schedule:
    - cron: '33 9 * * 4'

Example: https://github.com/apache/commons-crypto/blob/master/.github/workflows/codeql-analysis.yml

@armanbilge
Copy link
Member

Thanks for the issue! An additional sbt setting to support this sounds good to me 👍

Long term I would like to better formalize support for GHA workflows with a more complete model based on the specification. Currently there are too many gaps like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants