Skip to content

Commit 177d4b9

Browse files
Add GitHub workflows for patch tracking
Signed-off-by: Manikanta Sreeram <manikanta.sreeram@amd.com>
1 parent 660eb84 commit 177d4b9

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: ypt
2+
3+
# Format: abc1234d | Commit message | #42
4+
run-name: "${{ github.sha }} | ${{ github.event.head_commit.message }} | #${{ github.run_number }}"
5+
6+
on:
7+
push:
8+
9+
jobs:
10+
patchwork:
11+
# Only run if:
12+
# - ypt_workflow_branches variable is defined AND branch is in the list
13+
# - NOT the public "Xilinx" org
14+
# - NOT a fork
15+
if: |
16+
vars.ypt_workflow_branches != '' &&
17+
contains(format(',{0},', vars.ypt_workflow_branches), format(',{0},', github.ref_name)) &&
18+
github.repository_owner != 'Xilinx' &&
19+
github.event.repository.fork == false
20+
uses: AMD-AECG-SSW-PUBLIC/yocto-scripts/.github/workflows/ypt_patchwork_update.yml@master
21+
with:
22+
repo: ${{ github.repository }}
23+
ref: ${{ github.ref }}
24+
payload: ${{ toJson(github.event) }}
25+
secrets: inherit

0 commit comments

Comments
 (0)