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

Commitcf8c531

Browse files
committed
Skip theupdate-version job on a fork
This change prevents the job from being triggered when `release/*`branches are synchronized on a fork.
1 parentbe60f78 commitcf8c531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎.github/workflows/auto_update_version.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
update-version:
11-
if:${{ github.ref_type == 'branch' && startsWith(github.ref_name, 'release/') }}
11+
if:${{ github.repository == 'swiftlang/swift-format' && github.ref_type == 'branch' && startsWith(github.ref_name, 'release/') }}
1212
runs-on:ubuntu-latest
1313
permissions:
1414
contents:write

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp