diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 6d5dd6fbe..885a4f18b 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -7,6 +7,7 @@ on: jobs: triage: runs-on: ubuntu-latest + if: github.repository_owner == 'tokio-rs' steps: - uses: actions/labeler@v3 with: diff --git a/.github/workflows/loom.yml b/.github/workflows/loom.yml index 760b6347b..80c1b5ffc 100644 --- a/.github/workflows/loom.yml +++ b/.github/workflows/loom.yml @@ -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: