Skip to content

Commit

Permalink
Update 00-Check_Coding_Convention.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Silabs-ThieuVu authored Oct 16, 2024
1 parent cd31bea commit 338141d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/00-Check_Coding_Convention.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,20 @@ jobs:
steps:
- name: Trigger
run: echo "Triggered by ${{github.event_name}} event"

- name: Check Branch Input
run: |
if [ -z "${{ github.event.inputs.branch }}" ]; then
echo "Branch input is required."
exit 1
fi
echo "Checkout branch ${{ github.event.inputs.branch }}"
- name: Checkout
uses: actions/[email protected]
with:
ref: "${{ github.event.inputs.branch }}"
ref: "${{ github.event.inputs.branch }}"

- name: Install python3.11
if: always()
run: |
Expand Down

0 comments on commit 338141d

Please sign in to comment.