Update CI to orb v4, checkout action to v4, update components to match GEOSgcm #325
Workflow file for this run
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
name: Enforce PR Labels | |
on: | |
pull_request: | |
types: [opened, labeled, unlabeled, edited, synchronize] | |
jobs: | |
require-label: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mheap/github-action-required-labels@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
mode: minimum | |
count: 1 | |
labels: "0 diff,0 diff trivial,Non 0-diff,0 diff structural,0-diff trivial,Not 0-diff,0-diff,automatic,0-diff uncoupled" | |
add_comment: true | |
blocking-label: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mheap/github-action-required-labels@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
mode: exactly | |
count: 0 | |
labels: "Contingent - DNA,Needs Lead Approval,Contingent -- Do Not Approve" | |
add_comment: true |