Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 559 Bytes

actions-multiple-types.md

File metadata and controls

18 lines (15 loc) · 559 Bytes

If you specify activity types or filters for an event and your workflow triggers on multiple events, you must configure each event separately. You must append a colon (:) to all events, including events without configuration.

For example, a workflow with the following on value will run when:

  • A label is created
  • A push is made to the main branch in the repository
  • A push is made to a {% data variables.product.prodname_pages %}-enabled branch
on:
  label:
    types:
      - created
  push:
    branches:
      - main
  page_build: