1
0
mirror of synced 2026-01-24 06:01:08 -05:00
Files
docs/translations/ru-RU/data/reusables/github-actions/actions-on-examples.md
Chiedo John 2bee5b994f Crowdin translations (translation-batch-160285210) (#16087)
* New Crowdin translations by Github Action

* Remove bad translations

* Remove broken translations

* Remove more broken files

* Remove broken translation

* Remove broken translations

* Remove broken translations

* Add english versions of broken translations

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-10-16 10:26:58 -07:00

893 B

Example using a single event
# Triggered when code is pushed to any branch in a repository
on: push
Example using a list of events
# Triggers the workflow on push or pull request events
on: [push, pull_request]
Example using multiple events with activity types or configuration

If you need to specify activity types or configuration for an event, you must configure each event separately. You must append a colon (:) to all events, including events without configuration.

on:
  # Trigger the workflow on push or pull request,
  # but only for the main branch
  push:
    branches:
      - main
  pull_request:
    branches:
      - main
  # Also trigger on page_build, as well as release created events
  page_build:
  release:
    types: # This configuration does not affect the page_build event above
      - created