Skip to content

deps(dependabot): bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 #542

deps(dependabot): bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5

deps(dependabot): bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 #542

name: pull-target-e2e
## NOTE: This workflow uses the GitHub event `pull_request_target`, which uses the base commit instead of the head.
# Therefore, the source used for the e2e tests and `make deploy` will be from base, rather than the pull request.
# Reference(s):
# - https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target/
# - https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
on:
pull_request_target:
branches:
- main
- "release-**"
paths-ignore:
- "docs/**"
- "**.md"
- "sec-scanners-config.yaml"
- CODEOWNERS
- LICENSE
- LICENSES
- OWNERS
- OWNERS_ALIASES
- PROJECT
jobs:
is-pr-approved:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check if PR approved
env:
GH_TOKEN: ${{ github.token }}
PR_URL: https://github.com/kyma-project/eventing-manager/pull/${{ github.event.number }}
run: |
./scripts/is_pr_approved.sh
wait-until-build-succeeds:
needs: is-pr-approved
uses: "kyma-project/eventing-tools/.github/workflows/wait-build-reusable.yml@main"
with:
repository: ${{ github.repository_owner }}/eventing-manager
git_ref: ${{ github.event.pull_request.head.sha }}
git_check_run_name: "build / Build image"
backend-switching:
needs: wait-until-build-succeeds
uses: "./.github/workflows/e2e-backend-switching-reuseable.yml"
with:
eventing-manager-image: europe-docker.pkg.dev/kyma-project/dev/eventing-manager:PR-${{ github.event.number }}
cluster-name-prefix: "ghem-"
secrets: inherit