Skip to content

Commit

Permalink
Don't checkout PR branh as it is already done
Browse files Browse the repository at this point in the history
  • Loading branch information
muralov committed Jan 24, 2024
1 parent be5b647 commit c5b93cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/pull-e2e-upgrade-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
with:
pre-upgrade-image-tag: main
post-upgrade-image-tag: PR-${{ github.event.number }}
post-upgrade-branch: ${{ github.event.pull_request.head.ref }}
build-job-name: pull-eventing-manager-build
build-job-commit-sha: ${{ github.event.pull_request.head.sha }}
secrets: inherit
4 changes: 1 addition & 3 deletions .github/workflows/run-upgrade-tests-reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ jobs:
# uses post-upgrade-image-tag if post-upgrade-branch is not provided
if [ -z "${{ inputs.post-upgrade-branch }}" ]; then
git checkout -b ${{ inputs.post-upgrade-image-tag }}
else
git checkout ${{ inputs.post-upgrade-branch }}
fi
fi
- name: Install Eventing manager after Upgrade
run: |
Expand Down

0 comments on commit c5b93cf

Please sign in to comment.