Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
update GPU checks CI (#4182)
Browse files Browse the repository at this point in the history
Adds a condition to only run GPU checks on main repo and PRs to main repo so that the workflows will work for forks that have GitHub Actions enabled.
  • Loading branch information
epwalsh authored May 1, 2020
1 parent e56992b commit ab42189
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
gpu_checks:
name: GPU Checks
if: github.repository == 'allenai/allennlp' # self-hosted runner only available on main repo
runs-on: [self-hosted, GPU]

steps:
Expand Down

0 comments on commit ab42189

Please sign in to comment.