Skip to content

Commit 91dc3f0

Browse files
nishimotzclaude
andcommitted
Fix duplicate execution by removing push trigger
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 78a20dc commit 91dc3f0

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/check-duplicates.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: Check and Resolve Duplicate Filenames
22

33
on:
4-
push:
5-
paths:
6-
- 'WAIC-TEST/HTML_見送り/**'
7-
- 'WAIC-TEST/HTML_未着手/**'
84
pull_request:
9-
paths:
10-
- 'WAIC-TEST/HTML_見送り/**'
11-
- 'WAIC-TEST/HTML_未着手/**'
5+
types: [closed]
6+
branches:
7+
- master
128
workflow_dispatch:
139

1410
permissions:
@@ -20,6 +16,7 @@ env:
2016

2117
jobs:
2218
check-duplicates:
19+
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
2320
runs-on: ubuntu-latest
2421
outputs:
2522
duplicates_found: ${{ steps.check.outputs.duplicates_found }}

0 commit comments

Comments
 (0)