Skip to content

fix: Fix path to workflow template #4

fix: Fix path to workflow template

fix: Fix path to workflow template #4

name: Schedule Database Backup
on:
schedule:
- cron: '0 0 * * *' # Runs every night at midnight UTC
workflow_dispatch:
jobs:
backup-test:
uses: ./.github/workflows/templates/db-backup.yml

Check failure on line 10 in .github/workflows/schedule-db-backup.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/schedule-db-backup.yml

Invalid workflow file

invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory
with:
runner: tst
backup-acceptance:
uses: ./.github/workflows/templates/db-backup.yml
with:
runner: ACC
backup-production:
uses: ./.github/workflows/templates/db-backup.yml
with:
runner: PRD