Files
validate-json-by-json-schem…/.gitea/workflows/run-tas.yaml
Renovate Bot 5f940279c8
Some checks failed
renovate/stability-days Updates have not met minimum release age requirement
Run TAS / run-tas (pull_request) Failing after 1m26s
CI / Dry-Run (pull_request) Successful in 6m12s
chore(deps): pin dependencies
2026-02-12 19:19:43 +00:00

32 lines
1.1 KiB
YAML

name: Run TAS
on:
pull_request:
workflow_dispatch:
inputs:
branch:
description: "The branch to run TAS on"
required: true
default: "main"
schedule:
- cron: "0 6 * * 5"
jobs:
run-tas:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: https://gitea.t000-n.de/t.behrendt/trivy-actions/setup-trivy@d3dadf6c278b1e86c8f292844225e9c6de230c64 # 1.3.1
- uses: https://gitea.t000-n.de/t.behrendt/trivy-actions/setup-db@d3dadf6c278b1e86c8f292844225e9c6de230c64 # 1.3.1
- env:
TRIVY_CACHE_DIR: ${{ runner.temp }}/trivy
run: |
trivy config --cache-dir "$TRIVY_CACHE_DIR" --exit-code 0 --format sarif --output sarif.json .
- uses: https://gitea.t000-n.de/t.behrendt/tas-actions/tas-upload-sarif@cd7a5213f75c28565a24fff5ce7f8161869fb813 # 0.0.2
with:
tas-base-url: ${{ vars.TAS_BASE_URL }}
sarif-file: sarif.json
owner: t.behrendt
repo: validate-json-by-json-schema-action
branch: ${{ inputs.branch || github.head_ref || 'main' }}