Skip to content

Commit 94c1dc1

Browse files
authored
Don't run update-subtree.yml in forks (#400)
Currently, I receive a workflow run failure notification in my mailbox every day because this workflow runs in my fork. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.
1 parent 03aa374 commit 94c1dc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/update-subtree.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ defaults:
1111

1212
jobs:
1313
update-subtree-library:
14+
if: github.repository == 'model-checking/verify-rust-std'
1415
# Changing the host platform may alter the libgit2 version as used by
1516
# splitsh-lite, which will require changing the version of git2go.
1617
# See https://github.com/jeffWelling/git2go?tab=readme-ov-file#which-go-version-to-use

0 commit comments

Comments
 (0)