Add first iteration of the Rerun template repository #4
This file contains 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
# https://github.com/marketplace/actions/require-labels | |
# Check for existence of labels | |
# See all our labels at https://github.com/rerun-io/rerun/issues/labels | |
name: Pull Request Labels | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- labeled | |
- unlabeled | |
jobs: | |
label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check for a "do-not-merge" label | |
uses: mheap/github-action-required-labels@v3 | |
with: | |
mode: exactly | |
count: 0 | |
labels: "do-not-merge" | |
- name: Require label "include in changelog" or "exclude from changelog" | |
uses: mheap/github-action-required-labels@v3 | |
with: | |
mode: minimum | |
count: 1 | |
labels: "exclude from changelog, include in changelog" |