Skip to content

Commit fff9e79

Browse files
committed
avoid running this wf from fork
1 parent 158f872 commit fff9e79

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/extras-smoke-test.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
permissions:
1616
contents: read
1717
name: Get supported Python versions
18+
if: github.repository == 'huggingface/transformers'
1819
runs-on: ubuntu-latest
1920
outputs:
2021
versions: ${{ steps.extract-versions.outputs.versions }}
@@ -125,6 +126,7 @@ jobs:
125126
precheck-slack:
126127
permissions: {}
127128
name: Check Slack token availability
129+
if: github.repository == 'huggingface/transformers'
128130
runs-on: ubuntu-latest
129131
outputs:
130132
has_slack_token: ${{ steps.chk.outputs.has_token }}

0 commit comments

Comments
 (0)