Skip to content

Commit

Permalink
Assume label is already there (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertmink committed Mar 19, 2024
1 parent 49bb196 commit e01db8f
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/json-compatibility.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Compatibility Check
name: Experimental Compatibility Check

on:
pull_request:

jobs:
compatible:
name: Is change incompatible
name: Is change compatible
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand All @@ -25,12 +25,6 @@ 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,
Expand Down

0 comments on commit e01db8f

Please sign in to comment.