Skip to content

Commit 0664400

Browse files
authored
fix GHA settings (enthought#431)
1 parent 22bfc50 commit 0664400

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/autofmt.yml

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ jobs:
66
formatter:
77
name: auto-formatter
88
runs-on: windows-latest
9+
# Because auto-commit to the branch from a forked repository will fail,
10+
# so this GHA will be triggered by PRs from the source repository only.
11+
if: github.repository == github.event.pull_request.head.repo.full_name
912
steps:
1013
- name: Checkout
1114
uses: actions/checkout@v3

0 commit comments

Comments
 (0)