Yikun opened a new pull request #32806:
URL: https://github.com/apache/spark/pull/32806


   ### What changes were proposed in this pull request?
   
   This patch use the "concurrency" syntax to replace the "cancel job" workflow:
   - .github/workflows/benchmark.yml
   - .github/workflows/labeler.yml
   - .github/workflows/notify_test_workflow.yml
   - .github/workflows/test_report.yml
   
   Remove the .github/workflows/cancel_duplicate_workflow_runs.yml
   
   Note that the push/schedule based job are not changed to keep the same 
config in 
https://github.com/apache/spark/commit/a4b70758d3dfe2d59fb3800321ffb2450206c26f:
   - .github/workflows/build_and_test.yml
   - .github/workflows/publish_snapshot.yml
   - .github/workflows/stale.yml
   - .github/workflows/update_build_status.yml
   
   
   ### Why are the changes needed?
   We are using 
[cancel_duplicate_workflow_runs](https://github.com/apache/spark/blob/a70e66ecfa638cacc99b4e9a7c464e41ec92ad30/.github/workflows/cancel_duplicate_workflow_runs.yml#L1)
 job to cancel previous jobs when a new job is queued. Now, it has been 
supported by the github action by using 
["concurrency"](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency)
 syntax to make sure only a single job or workflow using the same concurrency 
group.
   
   Related: https://github.com/apache/arrow/pull/10416 and 
https://github.com/potiuk/cancel-workflow-runs
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   triger the PR manaully


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to