diff --git a/.github/workflows/newcheck.yml b/.github/workflows/newcheck.yml index 7bd131cb6ab..856028f1cc5 100644 --- a/.github/workflows/newcheck.yml +++ b/.github/workflows/newcheck.yml @@ -31,7 +31,7 @@ jobs: -d "{\"contexts\":[\"$CHECKS\"]}" done - - name: Get branch protection rule + - name: Delete branch protection rule if: "${{ contains(github.event.inputs.api_method, 'Delete') }}" run: | tail -n +2 .github/workflows/check.csv | while IFS=, read -r REPO_NAME BRANCH_NAME CHECKS; do