/.github/workflows/ci-check-correctness.yaml: check for label

This commit is contained in:
coffeegoddd
2024-01-16 10:18:39 -08:00
parent c9aa36be92
commit 07a44021aa

View File

@@ -0,0 +1,20 @@
name: Check for correctness_approved label
on:
pull_request:
branches: [main]
types: [opened, labeled, unlabeled, synchronize]
jobs:
label:
runs-on: ubuntu-latest
if: ${{ github.actor == 'coffeegoddd' }}
permissions:
issues: write
pull-requests: write
steps:
- uses: mheap/github-action-required-labels@v5
with:
mode: exactly
count: 1
labels: "correctness_approved"
add_comment: true
message: "This PR is being tested for SQL correctness. Please allow ~25 mins for this to complete. If this PR does not result in a SQL correctness regression, the `correctness_approved` label will be automatically added to this PR and the `Check for correctness_approved` workflow will succeed."