Scope the push trigger to the main branch only. Previously `on: [push, pull_request]` fired two runs for every commit pushed to a feature branch with an open PR — one for the push event and one for the pull_request event. With this change, feature-branch commits trigger only via pull_request; direct pushes to main (merge commits) trigger via push. Closes #483 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
420 B
YAML
20 lines
420 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
jobs:
|
|
check:
|
|
name: Full Project Check
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 60
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Dagger Remote Engine
|
|
env:
|
|
SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }}
|
|
run: scripts/setup_dagger_remote.sh
|
|
- name: Run Full Check Suite
|
|
run: task check-dagger
|