Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc02b049

Browse files
authored
Update format.yml
1 parentbd426ea commitc02b049

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎.github/workflows/format.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on:ubuntu-latest
1414

1515
steps:
16-
-name:Checkout PR HEAD
16+
-name:Checkout PR HEAD (PR or fallback)
1717
uses:actions/checkout@v4
1818
with:
19-
repository:${{ github.event.pull_request.head.repo.full_name }}
20-
ref:${{ github.event.pull_request.head.sha }}
19+
repository:${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github.repository }}
20+
ref:${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
2121
fetch-depth:0
2222

2323
-name:Detect fork vs same-repo

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp