Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test github action
Browse files Browse the repository at this point in the history
Signed-off-by: Pavan Naregundi <[email protected]>
pavannaregundi committed Jan 24, 2025

Verified

This commit was signed with the committer’s verified signature.
JMazurkiewicz Jakub Mazurkiewicz
1 parent ea4379c commit f3b9ace
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/check-patch-script.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Check patch script for clean patch

on:
push:
branches:
- 'master'
pull_request:
branches:
- 'master'

jobs:
check-file:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Fetch base branch
run: |
git fetch origin ${GITHUB_BASE_REF}
- name: Patch script run
run: |
echo "Testing patch apply"
pwd
ls
bash build/sonic_build_script.sh -h
bash build/sonic_build_script.sh -b 202411 -p marvell -a arm64 --patch_script https://github.com/pavannaregundi/sonic-scripts/raw/refs/heads/master/marvell_sonic_patch_script.sh --verify_patches
echo "Patch apply - success"

0 comments on commit f3b9ace

Please sign in to comment.