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:
|
buf:
|
||||||
name: lint and publish
|
name: lint and publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.repository_owner == 'prometheus'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: bufbuild/buf-setup-action@v1.20.0
|
- 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:
|
jobs:
|
||||||
action:
|
action:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.repository_owner == 'prometheus'
|
||||||
steps:
|
steps:
|
||||||
- uses: dessant/lock-threads@v4
|
- uses: dessant/lock-threads@v4
|
||||||
with:
|
with:
|
||||||
|
|
1
.github/workflows/repo_sync.yml
vendored
1
.github/workflows/repo_sync.yml
vendored
|
@ -6,6 +6,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
repo_sync:
|
repo_sync:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.repository_owner == 'prometheus'
|
||||||
container:
|
container:
|
||||||
image: quay.io/prometheus/golang-builder
|
image: quay.io/prometheus/golang-builder
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in a new issue