You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dependabot creates a branch for a PR on apache/arrow not a fork repository. So CI jobs for Dependabot PR include "push" jobs and "pull_request" jobs. We can stop these "push" jobs because "push" jobs and "pull_request" jobs are duplicated.
### Rationale for this change
They are redundant. We have the same jobs for "push" and "pull_request". We don't need either of them.
### What changes are included in this PR?
Ignore `dependabot/**` branches for "push".
We need to define not only `branches:` but also `tags:`. If we don't define `tags:`, the target workflows aren't trigger by tag push.
See also: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore
> If you define only tags/tags-ignore or only branches/branches-ignore, the workflow won't run for events affecting the undefined Git ref. If you define neither tags/tags-ignore or branches/branches-ignore, the workflow will run for events affecting either branches or tags. If you define both branches/branches-ignore and [paths/paths-ignore](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore), the workflow will only run when both filters are satisfied.
### Are these changes tested?
No. Let's try on apache/arrow main.
### Are there any user-facing changes?
No.
* GitHub Issue: #44404
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
Describe the enhancement requested
Dependabot creates a branch for a PR on apache/arrow not a fork repository. So CI jobs for Dependabot PR include "push" jobs and "pull_request" jobs. We can stop these "push" jobs because "push" jobs and "pull_request" jobs are duplicated.
For example: #44399
Component(s)
Continuous Integration
The text was updated successfully, but these errors were encountered: