Skip to content

Merge branch 'main' of github.com:vanguardbackup/marketing #6

Merge branch 'main' of github.com:vanguardbackup/marketing

Merge branch 'main' of github.com:vanguardbackup/marketing #6

Workflow file for this run

name: Main Pipeline
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
jobs:
format:
uses: ./.github/workflows/format.yml

Check failure on line 12 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

error parsing called workflow ".github/workflows/main.yml" -> "./.github/workflows/format.yml" (source branch with sha:4552f58dd7eed8fce69fb10ce046b120be25df0f) : workflow is not reusable as it is missing a `on.workflow_call` trigger
test:
needs: format
uses: ./.github/workflows/test.yml
deploy:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: test
uses: ./.github/workflows/deploy.yml
notify:
needs: [format, test, deploy]
runs-on: ubuntu-latest
if: always()
steps:
- name: Notify success
if: ${{ success() }}
run: echo "Pipeline completed successfully!"
- name: Notify failure
if: ${{ failure() }}
run: echo "Pipeline failed. Please check the logs for details."