Skip to content

Commit 519b8d5

Browse files
authored
Update frontend.yml to run only on main (#714)
* Update frontend.yml * Update frontend.yml
1 parent 4dbd708 commit 519b8d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/frontend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fetch-depth: 0
1515

1616
- name: Update branch
17-
if: github.event.pull_request.head.repo.full_name == github.repository
17+
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
1818
run: |
1919
git config user.name "github-actions[bot]"
2020
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)