Triggering jobs



on: push


on: [push, pull_request]


examples/workflows/triggers.yml
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