Skip to content
Prev Previous commit
Next Next commit
attempt №2
  • Loading branch information
donbarbos committed Oct 22, 2025
commit a5c213e89fb1a5f94c9482528edb88445bb5dec1
8 changes: 3 additions & 5 deletions .github/workflows/stubsabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,12 @@ env:
jobs:
stubsabot:
name: Upgrade stubs with stubsabot
if: github.repository == 'donBarbos/typeshed'
runs-on: ubuntu-latest
outputs:
STUBS: ${{ steps.runstubsabot.outputs.STUBS }}
steps:
- uses: actions/checkout@v5
with:
# use an ssh key so that checks automatically run on stubsabot PRs
ssh-key: ${{ secrets.STUBSABOT_SSH_PRIVATE_KEY }}
fetch-depth: 0
- uses: actions/setup-python@v6
with:
python-version: "3.13"
Expand Down Expand Up @@ -56,6 +53,7 @@ jobs:

stubtest-third-party:
name: "stubtest: third party"
if: github.repository == 'donBarbos/typeshed'
runs-on: ${{ matrix.os }}
needs: [stubsabot]
strategy:
Expand Down Expand Up @@ -121,7 +119,7 @@ jobs:
name: Create issue on failure
runs-on: ubuntu-latest
needs: [stubsabot, stubtest-third-party]
if: ${{ always() && (needs.stubsabot.result == 'failure' || needs.stubtest-third-party.result == 'failure') }}
if: ${{ github.repository == 'donBarbos/typeshed' && always() && (needs.stubsabot.result == 'failure' || needs.stubtest-third-party.result == 'failure') }}
steps:
- uses: actions/github-script@v8
with:
Expand Down
Loading