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
- Choose settings. The preview on the right immediately shows the finished workflow.
- Create the file
.github/workflows/rechtzeitig.ymlwith the content of the preview, then commit. In GitHub: Add file → Create new file, enter.github/workflows/rechtzeitig.ymlas the name. - See the result: Actions → rechtzeitig. The commit to
mainstarts the first run; after that it runs every Monday. The result is in the run summary.
Customize the workflow
.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).