Skip to content

Commit 005860c

Browse files
authored
Don't trigger update libs status on forks (#7428)
1 parent 0c14ad1 commit 005860c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/update-libs-status.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,24 @@ env:
1919
jobs:
2020
update-issue:
2121
runs-on: ubuntu-latest
22+
if: ${{ github.repository == 'RustPython/RustPython' }}
2223
steps:
2324
- name: Clone RustPython
2425
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2526
with:
2627
path: rustpython
27-
persist-credentials: "false"
28+
persist-credentials: false
2829
sparse-checkout: |-
2930
Lib
3031
scripts/update_lib
3132
32-
3333
- name: Clone CPython ${{ env.PYTHON_VERSION }}
3434
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3535
with:
3636
repository: python/cpython
3737
path: cpython
3838
ref: ${{ env.PYTHON_VERSION }}
39-
persist-credentials: "false"
39+
persist-credentials: false
4040
sparse-checkout: |
4141
Lib
4242

0 commit comments

Comments
 (0)