Skip to content

Commit c1b2913

Browse files
Copilotjbampton
andauthored
Add push trigger for main branch to manual, audit, and standards hook workflows (#421)
Agent-Logs-Url: https://github.com/NextCommunity/NextCommunity.github.io/sessions/74413ae5-9c4f-4fec-988b-e7e8a7644c22 Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jbampton <418747+jbampton@users.noreply.github.com>
1 parent 64f793d commit c1b2913

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.github/workflows/pre-commit-audit.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# https://github.com/j178/prek
22
name: Audit hooks
33

4-
on: [pull_request]
4+
on:
5+
pull_request:
6+
push:
7+
branches: [main]
58

69
permissions:
710
contents: read

.github/workflows/pre-commit-manual.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# https://github.com/j178/prek
22
name: Manual hooks
33

4-
on: [pull_request]
4+
on:
5+
pull_request:
6+
push:
7+
branches: [main]
58

69
permissions:
710
contents: read

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# https://github.com/j178/prek
22
name: Standard hooks
33

4-
on: [pull_request]
4+
on:
5+
pull_request:
6+
push:
7+
branches: [main]
58

69
permissions:
710
contents: read

0 commit comments

Comments
 (0)