Skip to content

Commit 16d1c95

Browse files
authored
fix: rename check-permissions jobs to avoid workflow grouping issues (#22831)
The Formatter and Flow Validation workflows both had a job named `check-permissions`, causing GitHub Actions UI to incorrectly group jobs from different workflows together. This resulted in the test-results job from Flow Validation appearing under the Formatter workflow section. Renamed the jobs to be workflow-specific: - formatter.yml: check-permissions -> check-permissions-formatter - validation.yml: check-permissions -> check-permissions-validation Updated all job dependencies accordingly to ensure proper workflow execution.
1 parent b0db834 commit 16d1c95

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/formatter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ permissions:
1818
issues: write
1919

2020
jobs:
21-
check-permissions:
21+
check-permissions-formatter:
2222
uses: ./.github/workflows/check-permissions.yml
2323

2424
formatter:
25-
needs: check-permissions
25+
needs: check-permissions-formatter
2626
name: Verify Java code format
2727
runs-on: ubuntu-latest
2828
timeout-minutes: 120

.github/workflows/validation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ env:
1818
PR_NUMBER: ${{ github.event.number }}
1919
JAVA_VERSION: '21'
2020
jobs:
21-
check-permissions:
21+
check-permissions-validation:
2222
uses: ./.github/workflows/check-permissions.yml
2323

2424
build:
25-
needs: check-permissions
25+
needs: check-permissions-validation
2626
timeout-minutes: 30
2727
runs-on: ubuntu-24.04
2828
outputs:
@@ -265,7 +265,7 @@ jobs:
265265
echo "🚫 THERE ARE TEST MODULES WITH FAILURES or BEEN CANCELLED" | tee -a $GITHUB_STEP_SUMMARY
266266
exit 1
267267
api-diff-labeling:
268-
needs: check-permissions
268+
needs: check-permissions-validation
269269
if: github.event_name == 'pull_request_target'
270270
timeout-minutes: 10
271271
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)