Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: downstream tests assume release branch was cut #3047

Merged
merged 6 commits into from
Jun 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/knative-downstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,22 @@ jobs:
git fetch upstream ${{ github.base_ref }}
git pull --no-rebase --no-commit upstream ${{ github.base_ref }}

- name: Checkout downstream at ${{ github.base_ref }}
- name: Attempt checkout of downstream at ${{ github.base_ref }}
id: checkout-downstream
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}
repository: ${{ matrix.repo }}
path: downstream
continue-on-error: true

- name: Checkout downstream with fallback branch
if: steps.checkout-downstream.outcome == 'failure'
uses: actions/checkout@v4
with:
ref: main
repository: ${{ matrix.repo }}
path: downstream

- name: Test downstream
uses: knative/actions/go/downstream-test@main
Expand Down
Loading