Skip to content

Commit a5c213e

Browse files
committed
attempt №2
1 parent de68010 commit a5c213e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/stubsabot.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,12 @@ env:
1616
jobs:
1717
stubsabot:
1818
name: Upgrade stubs with stubsabot
19+
if: github.repository == 'donBarbos/typeshed'
1920
runs-on: ubuntu-latest
2021
outputs:
2122
STUBS: ${{ steps.runstubsabot.outputs.STUBS }}
2223
steps:
2324
- uses: actions/checkout@v5
24-
with:
25-
# use an ssh key so that checks automatically run on stubsabot PRs
26-
ssh-key: ${{ secrets.STUBSABOT_SSH_PRIVATE_KEY }}
27-
fetch-depth: 0
2825
- uses: actions/setup-python@v6
2926
with:
3027
python-version: "3.13"
@@ -56,6 +53,7 @@ jobs:
5653
5754
stubtest-third-party:
5855
name: "stubtest: third party"
56+
if: github.repository == 'donBarbos/typeshed'
5957
runs-on: ${{ matrix.os }}
6058
needs: [stubsabot]
6159
strategy:
@@ -121,7 +119,7 @@ jobs:
121119
name: Create issue on failure
122120
runs-on: ubuntu-latest
123121
needs: [stubsabot, stubtest-third-party]
124-
if: ${{ always() && (needs.stubsabot.result == 'failure' || needs.stubtest-third-party.result == 'failure') }}
122+
if: ${{ github.repository == 'donBarbos/typeshed' && always() && (needs.stubsabot.result == 'failure' || needs.stubtest-third-party.result == 'failure') }}
125123
steps:
126124
- uses: actions/github-script@v8
127125
with:

0 commit comments

Comments
 (0)