From d530ebf5a2a9ae854600efa2a4d8b61cd76fd2bb Mon Sep 17 00:00:00 2001 From: Albert Mink Date: Thu, 21 Mar 2024 15:48:19 +0100 Subject: [PATCH] Update json-compatibility.yml --- .github/workflows/json-compatibility.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/json-compatibility.yml b/.github/workflows/json-compatibility.yml index 412e65415..879fea19f 100644 --- a/.github/workflows/json-compatibility.yml +++ b/.github/workflows/json-compatibility.yml @@ -28,6 +28,13 @@ jobs: uses: actions/github-script@v7 with: script: | + github.rest.issues.createLabel({ + owner: context.repo.owner, + repo: context.repo.repo, + name: 'incompatible-changes', + color: 'FF0000' + }).catch(err => console.log(`Label already exists`)) + github.rest.issues.addLabels({ issue_number: context.issue.number, owner: context.repo.owner,