rechtzeitig Startseite

Workflow-Builder für die rechtzeitig GitHub Action

Stellen Sie den GitHub-Workflow für rechtzeitig zusammen und übernehmen Sie ihn in Ihr Repository. Kostenlos und ohne Konto. Grundlage ist der Beispiel-Workflow des Open-Source-Projekts mit der aktuellen Version.

In drei Schritten

  1. Einstellungen wählen. Die Vorschau rechts zeigt sofort den fertigen Workflow.
  2. Datei .github/workflows/rechtzeitig.yml anlegen mit dem Inhalt der Vorschau, dann committen. In GitHub: Add file → Create new file, als Namen .github/workflows/rechtzeitig.yml eingeben.
  3. Ergebnis ansehen: Actions → rechtzeitig. Der Commit auf main startet den ersten Lauf, danach läuft er jeden Montag. Das Ergebnis steht in der Zusammenfassung des Laufs.

Workflow anpassen

Die Startseite mit https://. Ohne Adresse prüft rechtzeitig nur das Repository.

Angebot der Website

Schaltet die Shop-Prüfungen ein: Widerruf, Bestellbutton, Preise, AGB.

Prüft den Kündigungsbutton (§ 312k BGB).

Abfragen bei anderen Diensten (Opt-in)

sendet Name und Version jedes Pakets aus den Lockfiles an api.osv.dev.

sendet den Hostnamen der Website an api.thegreenwebfoundation.org.

Prüfgruppen

Keine Auswahl: alle Gruppen.

Ohne Haken gelten unsere Standards: Fehlerschwelle fail, 10 Seiten, Chrome-Sandbox Pflicht, SARIF-Upload auto.

Der Workflow läuft, sobald die Datei auf main liegt, und danach jeden Montag. Jede Einstellung erklärt die Seite Inputs (Englisch).

Ihre Eingaben bleiben in Ihrem Browser. Für die Vorschau gehen sie an unseren Server, der daraus nur die Datei erzeugt und nichts speichert. Mehr dazu

.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"

Alle Eingaben und ihre Bedeutung: Inputs (Englisch), erste Schritte: Getting started (Englisch).