[
https://issues.apache.org/jira/browse/NIFI-16057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18092746#comment-18092746
]
ASF subversion and git services commented on NIFI-16057:
--------------------------------------------------------
Commit 13feda4cc37d0e85cef84c0dc29f2b5eadf8337b in nifi's branch
refs/heads/main from Aurélien Pupier
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=13feda4cc37 ]
NIFI-16057 Ignored dependabot branches for GitHub Workflows (#11376)
Signed-off-by: David Handermann <[email protected]>
> Restrict trigger push branch for GitHub Workflow
> ------------------------------------------------
>
> Key: NIFI-16057
> URL: https://issues.apache.org/jira/browse/NIFI-16057
> Project: Apache NiFi
> Issue Type: Task
> Reporter: Aurélien Pupier
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Feature branches rarely need their own CI runs: the code is already tested
> when a pull request is opened against a release branch. If the push trigger
> has no branch restriction and pull_request is also configured, every push to
> a branch with an open PR runs the workflow twice: once for the push and once
> for the PR synchronisation.
> Always give the push trigger an explicit list of branches: this stops
> branches created from a release branch from inheriting its workflow runs.
> see
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=430408443#GitHubActionsRecommendedPractices-Restrictthepushtriggertospecificbranches
--
This message was sent by Atlassian Jira
(v8.20.10#820010)