mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-16 09:16:38 +00:00
fix: fix if conditions in GitHub workflows
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
parent
408e8ebd6e
commit
625e1306b1
3 changed files with 4 additions and 5 deletions
5
.github/workflows/e2e-prometheus3.yaml
vendored
5
.github/workflows/e2e-prometheus3.yaml
vendored
|
@ -9,7 +9,7 @@ jobs:
|
||||||
e2e-tests:
|
e2e-tests:
|
||||||
name: E2E experimental version tests
|
name: E2E experimental version tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.repository == 'prometheus-operator/prometheus-operator' }}
|
if: github.repository == 'prometheus-operator/prometheus-operator'
|
||||||
strategy:
|
strategy:
|
||||||
# since upgrade test was failing other tests were cancelled, setting this so that other test run
|
# since upgrade test was failing other tests were cancelled, setting this so that other test run
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -73,11 +73,10 @@ jobs:
|
||||||
# Added to summarize the matrix and allow easy branch protection rules setup
|
# Added to summarize the matrix and allow easy branch protection rules setup
|
||||||
e2e-tests-result:
|
e2e-tests-result:
|
||||||
name: End-to-End Test Results
|
name: End-to-End Test Results
|
||||||
if: always()
|
if: github.repository == 'prometheus-operator/prometheus-operator'
|
||||||
needs:
|
needs:
|
||||||
- e2e-tests
|
- e2e-tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.repository == 'prometheus-operator/prometheus-operator' }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Mark the job as a success
|
- name: Mark the job as a success
|
||||||
if: needs.e2e-tests.result == 'success'
|
if: needs.e2e-tests.result == 'success'
|
||||||
|
|
2
.github/workflows/stale.yaml
vendored
2
.github/workflows/stale.yaml
vendored
|
@ -6,7 +6,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.repository == 'prometheus-operator/prometheus-operator' }}
|
if: github.repository == 'prometheus-operator/prometheus-operator'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v9
|
- uses: actions/stale@v9
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -8,7 +8,7 @@ jobs:
|
||||||
upgrade-prometheus:
|
upgrade-prometheus:
|
||||||
name: Upgrade Prometheus
|
name: Upgrade Prometheus
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.repository == 'prometheus-operator/prometheus-operator' }}
|
if: github.repository == 'prometheus-operator/prometheus-operator'
|
||||||
steps:
|
steps:
|
||||||
- name: Reclaim disk space
|
- name: Reclaim disk space
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Reference in a new issue