Workflow syntax for GitHub Actions

오픈소스·2024년 1월 1일
0
post-thumbnail

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions

name:
run-name:
on:
  <event_name>:
    types:
  <pull_request|pull_request_target>:
    <branches|branches-ignore>:
  push:
    <branches|tags|branches-ignore|tags-ignore>:
  <push|pull_request|pull_request_target>:
    <paths|paths-ignore>:
  schedule:
  workflow_call:
    inputs:
      <input_id>:
        type:
    outputs:
    secrets:
      <secret_id>:
        required:
  workflow_run:
    <branches|branches-ignore>:
  workflow_dispatch:
    inputs:
      <input_id>:
        required:
        type:
permissions:
env:
defaults:
  run:
concurrency:
jobs:
  <job_id>:
    name:
    permissions:
    needs:
    if:
    runs-on:
    environment:
    concurrency:
    outputs
    env:
    defaults:
      run:
    steps:
      id:
      if:
      name:
      uses:
      run:
      working-directory:
      shell:
      with:
        args:
      env:
      continue-on-error:
      timeout-minutes:
    timeout-minutes:
    strategy:
      matrix:
        include:
        exclude:
      fail-fast:
      max-parallel:
    continue-on-error:
    container:
      image:
      credentials:
      env:
      ports:
      volumes:
      options:
    services:
      <service_id>:
        image:
        credentials:
        env:
        ports:
        volumes:
        options:
    uses:
    with:
      <input_id>:
    secrets:
      inherit:
      <secret_id>:

0개의 댓글