ump45nose commented on PR #2891:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/2891#issuecomment-7104816826

   Thanks, you are right that sharing one group per pull request drops labels 
that `main` applies today. Fixed in 17bc5a52:
   
   ```yaml
   concurrency:
     group: ${{ github.repository }}-${{ github.event_name == 'workflow_run' && 
format('{0}-{1}', github.event.workflow_run.head_repository.full_name, 
github.event.workflow_run.head_branch) || github.run_id }}-${{ github.workflow 
}}
     cancel-in-progress: true
   ```
   
   So every `issues` / `issue_comment` run gets its own group and cannot cancel 
another comment's run, while the pull request path still groups by head 
repository and branch so a new push supersedes the previous labeling run.
   
   The comment above the block says this now, and I updated the PR body: the 
`issues` / `issue_comment` paths stay on the default branch, but they do gain 
the `concurrency` block, so they are not entirely unchanged.
   
   Verification is unchanged in scope: no Rust changes, both workflow files 
load as YAML, and both labeler scripts pass `node --check`.
   
   (AI-assisted reply.)
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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