diff --git a/.github/workflows/label-add-conflict.yml b/.github/workflows/label-add-conflict.yml index 9cd02ca1e658..b94404155b83 100644 --- a/.github/workflows/label-add-conflict.yml +++ b/.github/workflows/label-add-conflict.yml @@ -1,4 +1,4 @@ -name: Auto Add Label "stale" & Comment Conflicts +name: Auto Add "stale" label on: push: @@ -11,13 +11,13 @@ on: - '4.*' jobs: - auto-label-comment-conflict: - + build: + name: Check Conflicts permissions: contents: read pull-requests: write - runs-on: ubuntu-22.04 + steps: - name: Checkout uses: actions/checkout@v4 @@ -45,6 +45,8 @@ jobs: # CONFLICTING and no 'stale' label if [ "$mergeable" == "CONFLICTING" ] && [[ ! "$labels" == *"stale"* ]]; then + echo $url + # Add "stale" label gh pr edit $url --add-label "stale" diff --git a/.github/workflows/label-remove-conflict.yml b/.github/workflows/label-remove-conflict.yml index 3d40b537ae59..ab5a015309db 100644 --- a/.github/workflows/label-remove-conflict.yml +++ b/.github/workflows/label-remove-conflict.yml @@ -7,7 +7,8 @@ on: - '4.*' jobs: - check-conflict: + build: + name: Check Conflicts runs-on: ubuntu-22.04 permissions: contents: read