ci: scope workflows (#4857)

Signed-off-by: Josh Soref <[email protected]>
This commit is contained in:
Josh Soref
2022-07-30 13:55:53 +02:00
committed by GitHub
parent 1d75b57ad0
commit 5ab6aaf3cd
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@ on:
jobs:
triage:
runs-on: ubuntu-latest
if: github.repository_owner == 'tokio-rs'
steps:
- uses: actions/labeler@v3
with:
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
loom:
name: loom
# base_ref is null when it's not a pull request
if: contains(github.event.pull_request.labels.*.name, 'R-loom') || (github.base_ref == null)
if: github.repository_owner == 'tokio-rs' && (contains(github.event.pull_request.labels.*.name, 'R-loom') || (github.base_ref == null))
runs-on: ubuntu-latest
strategy:
matrix: