OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
only trigger downstream tests if base is a known dev or release branch
Markus Kahl65fec6fb3b39
diff --git a/.github/workflows/downstream-ci.yml b/.github/workflows/downstream-ci.ymlindex c54069f35bf..d133d1c71e2 100644--- a/.github/workflows/downstream-ci.yml+++ b/.github/workflows/downstream-ci.yml@@ -38,6 +38,11 @@ jobs:# * the name of the core branch that has to be checked out downstream to run the tests# * that is either dev, release/16.1 (for instance), or the pull request's branch namerun: |+ if [[ ! "${{ github.base_ref || github.ref_name }}" =~ dev|release/.+ ]]; then+ echo "Base branch is not dev or release branch. Cannot check downstream tests."+ exit 0+ fi+curl -i --fail-with-body -H"authorization: Bearer $TOKEN" \-XPOST -H"Accept: application/vnd.github.v3+json" \https://api.github.com/repos/$REPOSITORY/actions/workflows/$WORKFLOW_ID/dispatches \