ci(dev-infra): change behavior of pr-title-lint action to bypass branch protections #33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # Copyright The Linux Foundation and each contributor to LFX. | |
| # SPDX-License-Identifier: MIT | |
| name: Pull Request | |
| on: | |
| pull_request: | |
| # By default, a workflow only runs when a pull_request's activity type is opened, synchronize, or reopened. We | |
| # explicity override here so that PR titles are re-linted when the PR text content is edited. | |
| # | |
| # Possible values: https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request | |
| types: [opened, edited, reopened, synchronize] | |
| jobs: | |
| pr-title-lint: | |
| uses: ./.github/workflows/_pr-title-lint.yml | |
| add-label: | |
| uses: ./.github/workflows/_add-label.yml |