Skip to content

Commit 437f20b

Browse files
committed
Update GitHub Actions workflows to ignore changes in workflow files
- Modified the build workflow to ignore changes in the '.github/workflows/**' directory for push and pull request events. - Updated the publish workflow similarly to prevent unnecessary triggers on workflow file modifications.
1 parent db971e0 commit 437f20b

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
name: Build Extension Package for Testing
1+
name: Build Extension Package
22

33
on:
44
push:
55
branches:
66
- extension_test
7+
paths-ignore:
8+
- '.github/workflows/**' # Ignore changes to workflow files
79
pull_request:
810
branches:
911
- extension_test
12+
paths-ignore:
13+
- '.github/workflows/**' # Ignore changes to workflow files
1014
workflow_dispatch: # Allow manual trigger
1115

1216
jobs:

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- main
7+
paths-ignore:
8+
- '.github/workflows/**' # Ignore changes to workflow files
79
workflow_dispatch: # Allow manual trigger
810

911
jobs:

0 commit comments

Comments
 (0)