mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 03:38:43 +00:00
ci: Let github runner run only in the prometheus-operator main repository
This commit is contained in:
parent
42975feab2
commit
6a64279e32
3 changed files with 4 additions and 0 deletions
.github/workflows
2
.github/workflows/e2e-prometheus3.yaml
vendored
2
.github/workflows/e2e-prometheus3.yaml
vendored
|
@ -9,6 +9,7 @@ jobs:
|
|||
e2e-tests:
|
||||
name: E2E experimental version tests
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.repository == 'prometheus-operator/prometheus-operator' }}
|
||||
strategy:
|
||||
# since upgrade test was failing other tests were cancelled, setting this so that other test run
|
||||
fail-fast: false
|
||||
|
@ -76,6 +77,7 @@ jobs:
|
|||
needs:
|
||||
- e2e-tests
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.repository == 'prometheus-operator/prometheus-operator' }}
|
||||
steps:
|
||||
- name: Mark the job as a success
|
||||
if: needs.e2e-tests.result == 'success'
|
||||
|
|
1
.github/workflows/stale.yaml
vendored
1
.github/workflows/stale.yaml
vendored
|
@ -6,6 +6,7 @@ on:
|
|||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.repository == 'prometheus-operator/prometheus-operator' }}
|
||||
steps:
|
||||
- uses: actions/stale@v9
|
||||
with:
|
||||
|
|
|
@ -8,6 +8,7 @@ jobs:
|
|||
upgrade-prometheus:
|
||||
name: Upgrade Prometheus
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.repository == 'prometheus-operator/prometheus-operator' }}
|
||||
steps:
|
||||
- name: Reclaim disk space
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue