Files
vuln-builder/.gitea/workflows/build.yml.example
T

24 lines
663 B
Plaintext

# TEMPLATE: rename to build.yml ONLY if no other builder workflow is active.
# Prefer updating the existing workflow to invoke `bash scripts/run.sh`.
name: Build Vulnerability SQLite
on:
schedule:
- cron: '47 */6 * * *'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: vuln-builder
cancel-in-progress: false
jobs:
build:
runs-on: vuln-runner
timeout-minutes: 360
steps:
- uses: actions/checkout@v4
- name: Synchronize sources and build SQLite
env:
CACHE_ROOT: /opt/gitea-builder/cache/vuln-builder
SOURCE_READ_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: bash scripts/run.sh