diff options
| author | Aiden Grossman <agrossman154@yahoo.com> | 2023-11-04 00:17:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-04 00:17:06 -0700 |
| commit | 83888a5404d46667647fe36d6fa510d075ed57ea (patch) | |
| tree | c5f51b2c024fda33d20472d832e5371fa958795a /.github/workflows/docs.yml | |
| parent | 9189cd6452219a99eefc1d4727aeb18732077862 (diff) | |
[Github] Only run github actions on main monorepo (#69774)
There are currently a couple jobs that run on all forks of LLVM too (if
there is a PR opened, or in the case of the documentation builds, upon
pushing to main). This isn't desired behavior. This commit disables that
behavior, forcing the jobs to not run if they aren't running against
llvm/llvm-project or a PR against that repo.
Diffstat (limited to '.github/workflows/docs.yml')
| -rw-r--r-- | .github/workflows/docs.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 66afa60c5a62..6329d777a182 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -42,6 +42,7 @@ jobs: check-docs-build: name: "Test documentation build" runs-on: ubuntu-latest + if: github.repository == 'llvm/llvm-project' steps: # Don't fetch before checking for file changes to force the file changes # action to use the Github API in pull requests. If it's a push to a |
