Skip to content

Commit 2da0306

Browse files
kaklikgithub-actions[bot]
authored andcommitted
Update workflow files
1 parent b368836 commit 2da0306

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/kicad_outputs.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,15 @@ on:
1010
- '**.kicad_pcb'
1111
- '**.kicad_sch'
1212
- '**.kicad_pro'
13-
- '**.yml'
14-
- 'doc/assets'
13+
- 'doc/assets/**'
14+
- '.github/workflows/*.yml'
15+
pull_request:
16+
paths:
17+
- '**.kicad_pcb'
18+
- '**.kicad_sch'
19+
- '**.kicad_pro'
20+
- 'doc/assets/**'
21+
- '.github/workflows/*.yml'
1522
workflow_dispatch:
1623

1724
env:
@@ -257,6 +264,7 @@ jobs:
257264

258265

259266
UPDATE_REPO:
267+
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
260268
runs-on: ubuntu-latest
261269
name: Update repository
262270
needs: [graphics, gerbers, schematics, placement, report, ibom]
@@ -318,5 +326,5 @@ jobs:
318326

319327
- uses: stefanzweifel/git-auto-commit-action@v4.16.0
320328
with:
321-
commit_message: Update actions products
329+
commit_message: Automatic update of KiCAD outputs
322330
add_options: '-A -f'

doc/assets

0 commit comments

Comments
 (0)