mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Merge pull request #11639 from fbegyn/main
stop github actions from executing specific tasks on forks
This commit is contained in:
commit
47b613a3cb
1
.github/workflows/buf.yml
vendored
1
.github/workflows/buf.yml
vendored
|
@ -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
vendored
1
.github/workflows/lock.yml
vendored
|
@ -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
vendored
1
.github/workflows/repo_sync.yml
vendored
|
@ -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…
Reference in a new issue