Browse Source

Merge pull request #11639 from fbegyn/main

stop github actions from executing specific tasks on forks
pull/12512/head
Julien Pivotto 1 year ago committed by GitHub
parent
commit
47b613a3cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .github/workflows/buf.yml
  2. 1
      .github/workflows/lock.yml
  3. 1
      .github/workflows/repo_sync.yml

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

1
.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:

1
.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:

Loading…
Cancel
Save