deps(dependabot): bump github.com/onsi/gomega from 1.34.2 to 1.36.0 #573
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |