You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "JingsongLi (via GitHub)" <gi...@apache.org> on 2023/04/20 03:12:20 UTC
[GitHub] [incubator-paimon] JingsongLi opened a new issue, #951: [Feature] Improve ci trigger and cancel
JingsongLi opened a new issue, #951:
URL: https://github.com/apache/incubator-paimon/issues/951
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar.
### Motivation
1. Multiple commits of the same PR require cancellation of the previous testings
2. The master merged commits cannot cancel the previous testing
But #883 broke the requirement ②.
### Solution
_No response_
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
--
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: issues-unsubscribe@paimon.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-paimon] liugddx commented on issue #951: [Feature] Improve ci trigger and cancel
Posted by "liugddx (via GitHub)" <gi...@apache.org>.
liugddx commented on issue #951:
URL: https://github.com/apache/incubator-paimon/issues/951#issuecomment-1515735966
> Here is what I use for my projects that _can_ fix the issue:
>
> ```yaml
> # Concurrency strategy:
> # github.workflow: distinguish this workflow from others
> # github.event_name: distinguish `push` event from `pull_request` event
> # github.event.number: set to the number of the pull request if `pull_request` event
> # github.run_id: otherwise, it's a `push` or `schedule` event, only cancel if we rerun the workflow
> #
> # Reference:
> # https://docs.github.com/en/actions/using-jobs/using-concurrency
> # https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
> concurrency:
> group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }}
> cancel-in-progress: true
> ```
thanks for your suggestions, i will try this.
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-paimon] tisonkun commented on issue #951: [Feature] Improve ci trigger and cancel
Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on issue #951:
URL: https://github.com/apache/incubator-paimon/issues/951#issuecomment-1515719184
Here is what I use for my projects that _can_ fix the issue:
```yml
# Concurrency strategy:
# github.workflow: distinguish this workflow from others
# github.event_name: distinguish `push` event from `pull_request` event
# github.event.number: set to the number of the pull request if `pull_request` event
# github.run_id: otherwise, it's a `push` or `schedule` event, only cancel if we rerun the workflow
#
# Reference:
# https://docs.github.com/en/actions/using-jobs/using-concurrency
# https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }}
cancel-in-progress: true
```
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-paimon] liugddx commented on issue #951: [Feature] Improve ci trigger and cancel
Posted by "liugddx (via GitHub)" <gi...@apache.org>.
liugddx commented on issue #951:
URL: https://github.com/apache/incubator-paimon/issues/951#issuecomment-1515666916
Assign to me, i will fix this error .
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-paimon] JingsongLi closed issue #951: [Feature] Improve ci trigger and cancel
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi closed issue #951: [Feature] Improve ci trigger and cancel
URL: https://github.com/apache/incubator-paimon/issues/951
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org