ci: Enable dispatch for e2e tests

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan 2024-04-26 11:49:31 +03:00
parent e590863286
commit 4f2d0af3de
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF
3 changed files with 12 additions and 14 deletions

View File

@ -1,11 +1,11 @@
name: e2e name: e2e
on: on:
workflow_dispatch:
pull_request: pull_request:
paths-ignore: branches:
- 'CHANGELOG.md' - 'main'
- 'README.md' - 'release/**'
- 'MAINTAINERS'
push: push:
branches: branches:
- 'main' - 'main'
@ -51,6 +51,7 @@ jobs:
# Hosted on Equinix # Hosted on Equinix
# Docs: https://github.com/fluxcd/flux2/tree/main/.github/runners # Docs: https://github.com/fluxcd/flux2/tree/main/.github/runners
runs-on: [self-hosted, Linux, ARM64, equinix] runs-on: [self-hosted, Linux, ARM64, equinix]
if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && github.actor != 'dependabot[bot]'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3

View File

@ -3,11 +3,9 @@ name: tests
on: on:
workflow_dispatch: workflow_dispatch:
pull_request: pull_request:
paths-ignore: branches:
- 'CHANGELOG.md' - 'main'
- 'README.md' - 'release/**'
- 'MAINTAINERS'
push: push:
branches: branches:
- 'main' - 'main'
@ -41,6 +39,7 @@ jobs:
# Hosted on Equinix # Hosted on Equinix
# Docs: https://github.com/fluxcd/flux2/tree/main/.github/runners # Docs: https://github.com/fluxcd/flux2/tree/main/.github/runners
runs-on: [self-hosted, Linux, ARM64, equinix] runs-on: [self-hosted, Linux, ARM64, equinix]
if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && github.actor != 'dependabot[bot]'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3

View File

@ -2,11 +2,9 @@ name: verify
on: on:
pull_request: pull_request:
paths-ignore: branches:
- 'CHANGELOG.md' - 'main'
- 'README.md' - 'release/**'
- 'MAINTAINERS'
push: push:
branches: branches:
- 'main' - 'main'