rechtzeitig Home

Workflow builder for the rechtzeitig GitHub Action

Configure the GitHub workflow for rechtzeitig and copy it into your repository. Free and without an account. It is based on the example workflow of the open-source project, with the current version.

Three steps

  1. Choose settings. The preview on the right immediately shows the finished workflow.
  2. Create the file .github/workflows/rechtzeitig.yml with the content of the preview, then commit. In GitHub: Add file → Create new file, enter .github/workflows/rechtzeitig.yml as the name.
  3. See the result: Actions → rechtzeitig. The commit to main starts the first run; after that it runs every Monday. The result is in the run summary.

Customize the workflow

The home page with https://. Without an address rechtzeitig checks the repository only.

What the website offers

Enables the shop checks: withdrawal, order button, prices, terms.

Checks the cancellation button (§ 312k BGB).

Queries to other services (opt-in)

sends the name and version of every package from the lockfiles to api.osv.dev.

sends the website's hostname to api.thegreenwebfoundation.org.

Check groups

No selection: all groups.

Unticked, our defaults apply: failure threshold fail, 10 pages, Chrome sandbox required, SARIF upload auto.

The workflow runs as soon as the file is on main, then every Monday. Every setting is explained on the page Inputs (Englisch).

Your inputs stay in your browser. For the preview they go to our server, which only generates the file from them and stores nothing. Read more

.github/workflows/rechtzeitig.yml

# Generated by the rechtzeitig workflow builder. Save as .github/workflows/rechtzeitig.yml.
# Every input: https://github.com/kreativ-anders/rechtzeitig/wiki/Inputs
name: rechtzeitig

on:
  # The first run starts when this file is committed to main; later edits of it start one too.
  push:
    branches: [main]
    paths: [.github/workflows/rechtzeitig.yml]
  schedule:
    - cron: "18 4 * * 1" # Mondays, 04:18 UTC. A minute other than :00 avoids GitHub's busiest time.
  workflow_dispatch:

permissions:
  contents: read

jobs:
  scan:
    runs-on: ubuntu-latest
    permissions:
      contents: read
      # Findings as alerts in the Security tab (sarif-upload: auto). Where GitHub does not allow it,
      # for example in private repositories without GitHub Code Security, the upload is skipped with a notice.
      security-events: write
      actions: read # needed by the upload in private repositories
    timeout-minutes: 20
    steps:
      # Lets rechtzeitig read lockfiles, licenses and secrets. Remove to scan the website only.
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
        with:
          persist-credentials: false
      # Pinned to a release. Dependabot can move the pin: https://github.com/kreativ-anders/rechtzeitig/wiki/Getting-started#5-keep-it-running
      # On github.com, `gh actions-lock` can also write .github/workflows/actions.lock, which locks the actions
      # rechtzeitig uses by commit and repository id (not on GitHub Enterprise Server).
      - uses: kreativ-anders/rechtzeitig@efd30ea243adb6a69377abee1adabdc6ce62a0f5 # v0.12.0
        with:
          # Start page of your site, e.g. https://www.example.de/. Empty = repository only.
          url: ""
          # true if consumers buy or sign contracts on the site (shop checks).
          sales: false
          # true if visitors can sign up for subscriptions (cancellation button, § 312k BGB).
          subscriptions: false
          # The job fails when a check fails, so GitHub emails you about new findings of a scheduled run.
          # never = report only, warn = also on warnings.
          fail-on: fail
          # Opt-in: with the secret IPINFO_TOKEN (free at ipinfo.io) the third-country check also looks up IP countries.
          # Without the secret it uses the countries in its data and nothing is sent to IPinfo.
          ipinfo-token: ${{ secrets.IPINFO_TOKEN }}
          # Opt-in: true sends the name and version of every locked component, internal packages included,
          # to api.osv.dev to find known vulnerabilities. false = nothing is sent and the check is skipped.
          vulnerabilities: "false"
          # Opt-in: true sends the site's host name to api.thegreenwebfoundation.org for the green hosting check.
          # false = nothing is sent and the check is skipped.
          green-hosting: "false"

All inputs and what they mean: Inputs (Englisch), first steps: Getting started (Englisch).