We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22bfc50 commit 0664400Copy full SHA for 0664400
.github/workflows/autofmt.yml
@@ -6,6 +6,9 @@ jobs:
6
formatter:
7
name: auto-formatter
8
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
12
steps:
13
- name: Checkout
14
uses: actions/checkout@v3
0 commit comments