Files
swift-nio/.github/workflows/pull_request.yml
T
Franz Busch 96149964cb [GHA] Create reusable workflow (#2767)
# Motivation

In the future, we want to share the workflow definition across multiple repos to avoid duplication.

# Modification

This PR extracts the current workflow definition into a reusable workflow and calls the reusable workflow from a new workflow that is triggered on PR events. The new reusable workflow starts off with a few simple inputs to enable/disable the three current jobs. By default all jobs are enabled.

# Result

First step into reusability of our workflow.
2024-07-05 01:47:12 -07:00

10 lines
220 B
YAML

name: Pull Request
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
jobs:
call-reusable-pull-request-workflow:
name: Checks
uses: ./.github/workflows/reusable_pull_request.yml