Skip to content

Update main.py

Update main.py #148

name: Push to main branch
on:
push:
branches:
- main
jobs:
semgrep:
uses: underyx/visawhen/.github/workflows/semgrep.yml@main

Check failure on line 10 in .github/workflows/push_default_branch.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/push_default_branch.yml

Invalid workflow file

error parsing called workflow ".github/workflows/push_default_branch.yml" -> "underyx/visawhen/.github/workflows/semgrep.yml@main" (source branch with sha:d44e9e1928c168d9231430da8d5a1d18153d210c) : workflow is not reusable as it is missing a `on.workflow_call` trigger
secrets:
semgrep-app-token: ${{ secrets.SEMGREP_APP_TOKEN }}
with:
continue-on-error: true
pre-commit:
uses: underyx/visawhen/.github/workflows/pre-commit.yml@main
build:
uses: underyx/visawhen/.github/workflows/build.yml@main
with:
ref: ${{ github.sha }}
deploy:
uses: underyx/visawhen/.github/workflows/deploy.yml@main
needs: [build]
secrets:
netlify-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}