diff --git a/.github/workflows/auto-backport.yml b/.github/workflows/auto-backport.yml new file mode 100644 index 0000000..cfcae6b --- /dev/null +++ b/.github/workflows/auto-backport.yml @@ -0,0 +1,14 @@ +name: Automated Cherry-Pick Engine + +on: + pull_request: + types: [labeled, closed] # Triggers when a PR is closed/merged or labeled + +jobs: + cherry-pick: + if: github.event.pull_request.merged == true && contains(toJSON(github.event.pull_request.labels.*.name), 'cherry-pick to ') + uses: rdkcentral/build_tools_workflows/.github/workflows/cherry-pick.yml@feature/gatekeeper-test + with: + raw_labels: ${{ toJSON(github.event.pull_request.labels) }} + secrets: + CROSS_REPO_TOKEN: ${{ secrets.CROSS_REPO_TOKEN }} diff --git a/.github/workflows/gatekeeper.yml b/.github/workflows/gatekeeper.yml new file mode 100644 index 0000000..2b9ac1a --- /dev/null +++ b/.github/workflows/gatekeeper.yml @@ -0,0 +1,16 @@ +name: Topic Gatekeeper + +on: + pull_request: + types: [opened, synchronize, reopened] + branches: + - develop + - 'release/**' + - 'support/**' + pull_request_review: + types: [submitted] + +jobs: + run-shared-gatekeeper: + # Temporarily pointing to test branch for verification + uses: rdkcentral/build_tools_workflows/.github/workflows/gatekeeper.yml@feature/gatekeeper-test diff --git a/cherry_pick_test.txt b/cherry_pick_test.txt new file mode 100644 index 0000000..ad11028 --- /dev/null +++ b/cherry_pick_test.txt @@ -0,0 +1 @@ +# Cherry-pick test diff --git a/cherry_pick_test_2.txt b/cherry_pick_test_2.txt new file mode 100644 index 0000000..b1891de --- /dev/null +++ b/cherry_pick_test_2.txt @@ -0,0 +1 @@ +# Cherry-pick test 2