Skip to content

Commit 4d00da9

Browse files
committed
modify when workflows run
1 parent 9453057 commit 4d00da9

File tree

3 files changed

+19
-12
lines changed

3 files changed

+19
-12
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: build
22

3-
on: [pull_request, push]
3+
on:
4+
pull_request:
5+
paths:
6+
- 'examples/**'
7+
- 'lib/**'
8+
push:
9+
paths:
10+
- 'examples/**'
11+
- 'lib/**'
412

513
jobs:
614
PlatformIO:

.github/workflows/lint.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: lint
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
- 'develop'
8+
- 'feature/**'
49

510
jobs:
611
reuse:

.github/workflows/release.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
name: release
22

33
on:
4-
push:
5-
tags:
6-
- "v*"
4+
release:
5+
created:
76

87
jobs:
9-
Github:
8+
Doxygen:
109
runs-on: ubuntu-latest
1110
steps:
12-
# release
13-
- uses: "marvinpinto/action-automatic-releases@latest"
14-
with:
15-
repo_token: "${{ secrets.GITHUB_TOKEN }}"
16-
prerelease: false
17-
# Doxygen
11+
- uses: actions/checkout@v3
1812
- name: Add version to doxyfile
1913
run: echo "PROJECT_NUMBER = $(git describe --tags --abbrev=0 | cut -c2-)" >> Doxyfile
2014
- name: Run Doxygen

0 commit comments

Comments
 (0)