Skip to content
14 changes: 14 additions & 0 deletions .github/workflows/auto-backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Automated Cherry-Pick Engine

on:
Comment on lines +1 to +3
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
Comment on lines +9 to +10
with:
raw_labels: ${{ toJSON(github.event.pull_request.labels) }}
secrets:
CROSS_REPO_TOKEN: ${{ secrets.CROSS_REPO_TOKEN }}

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Comment on lines +9 to +14
16 changes: 16 additions & 0 deletions .github/workflows/gatekeeper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Topic Gatekeeper

on:
pull_request:
types: [opened, synchronize, reopened]
branches:
- develop
- 'release/**'
- 'support/**'
pull_request_review:
types: [submitted]
Comment on lines +10 to +11

jobs:
Comment on lines +10 to +13
run-shared-gatekeeper:
# Temporarily pointing to test branch for verification
uses: rdkcentral/build_tools_workflows/.github/workflows/gatekeeper.yml@feature/gatekeeper-test

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Comment on lines +14 to +16
Comment on lines +13 to +16
Comment on lines +15 to +16
1 change: 1 addition & 0 deletions cherry_pick_test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Cherry-pick test
1 change: 1 addition & 0 deletions cherry_pick_test_2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Cherry-pick test 2
Loading