diff --git a/.github/workflows/buf.yml b/.github/workflows/buf.yml index 2bfee7138..567ecc000 100644 --- a/.github/workflows/buf.yml +++ b/.github/workflows/buf.yml @@ -7,6 +7,7 @@ jobs: buf: name: lint and publish runs-on: ubuntu-latest + if: github.repository_owner == 'prometheus' steps: - uses: actions/checkout@v3 - uses: bufbuild/buf-setup-action@v1.13.1 diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 1725fb4f2..c6ac3d74e 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -14,6 +14,7 @@ concurrency: jobs: action: runs-on: ubuntu-latest + if: github.repository_owner == 'prometheus' steps: - uses: dessant/lock-threads@v4 with: diff --git a/.github/workflows/repo_sync.yml b/.github/workflows/repo_sync.yml index 37be80d45..9526cd2fe 100644 --- a/.github/workflows/repo_sync.yml +++ b/.github/workflows/repo_sync.yml @@ -6,6 +6,7 @@ on: jobs: repo_sync: runs-on: ubuntu-latest + if: github.repository_owner == 'prometheus' container: image: quay.io/prometheus/golang-builder steps: