Skip to content

Commit 6c8e09f

Browse files
committed
Modified the check-build and validate workflow triggers from 'main' branch only to all branches except gh-pages branch.
1 parent 8eb7642 commit 6c8e09f

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.github/workflows/check-build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ name: check-build
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: ["*"] # Trigger on push to any branch
6+
branches-ignore: ["gh-pages"] # Exclude the gh-pages branch
67
pull_request:
7-
branches: [ main ]
8+
branches: ["*"] # Trigger on pull request to any branch
9+
branches-ignore: ["gh-pages"] # Exclude the gh-pages branch
810
workflow_dispatch:
9-
branches: [ main ]
11+
branches: ["*"] # Included ["*"] for consistency
1012

1113
jobs:
1214
build:

.github/workflows/validate.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ name: validate
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: ["*"] # Trigger on push to any branch
6+
branches-ignore: ["gh-pages"] # Exclude the gh-pages branch
67
pull_request:
7-
branches: [ main ]
8+
branches: ["*"] # Trigger on pull request to any branch
9+
branches-ignore: ["gh-pages"] # Exclude the gh-pages branch
810
workflow_dispatch:
9-
branches: [ main ]
11+
branches: ["*"] # Included ["*"] for consistency
1012

1113
jobs:
1214
build:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Changelog
44
v3.4.0
55
------
66
- Setting `-flto=auto` in makefiles for better compiling performance
7+
- Modified the `check-build` and `validate` workflow triggers from 'main' branch only to all branches except `gh-pages`branch.
78

89
v3.3.0
910
------

0 commit comments

Comments
 (0)