Merge pull request #11639 from fbegyn/main

stop github actions from executing specific tasks on forks
This commit is contained in:
Julien Pivotto 2023-07-04 13:57:32 +02:00 committed by GitHub
commit 47b613a3cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View file

@ -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.20.0

View file

@ -14,6 +14,7 @@ concurrency:
jobs:
action:
runs-on: ubuntu-latest
if: github.repository_owner == 'prometheus'
steps:
- uses: dessant/lock-threads@v4
with:

View file

@ -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: