repos:
- id: /.*/
  pre_workflow_hooks:
    - run: echo "hello"
  workflow: custom
  post_workflow_hooks:
    - run: echo "hello"
  allowed_overrides: [workflow]
workflows:
  custom:
    plan:
      steps:
        - run: echo preinit custom
        - init
        - plan
        - run: echo postplan custom
  staging:
    plan:
      steps:
        - run: echo preinit staging
        - init
        - plan
