typelevel / typelevel/sbt-typelevel

github-actions: support schedule cron

Open
#299 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement github-actions help wanted
Dominant language
Scala
Stars
185
Forks
62
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the sbt-typelevel-github-actions settings that generate GitHub Actions workflow YAML and reviewing how existing workflow parameters are exposed. Add support for configuring a schedule with cron entries, then verify that generated workflows include the requested schedule alongside existing triggers.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, scala
Domain
ci-cd
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.