mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-20 02:24:58 -05:00
/.github/workflows/ci-check-correctness.yaml: check for label
This commit is contained in:
20
.github/workflows/ci-check-correctness.yaml
vendored
Normal file
20
.github/workflows/ci-check-correctness.yaml
vendored
Normal 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."
|
||||
Reference in New Issue
Block a user