- Single event
- Multiple events
on: [push, pull_request]
- Run on "push" in every branch.
- Run on "pull_request" if it was sent to the "dev" branch.
- scheduled every 5 minutes (cron config)
name: Triggers on: push: branches: '*' pull_request: branches: 'dev' schedule: - cron: '*/5 * * * *' jobs: build: runs-on: ubuntu-latest steps: - name: Look around run: | echo $GITHUB_EVENT_NAME printenv | sort
- Manual events (via POST request)