Skip to content

Commit

Permalink
Fix backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiQuan0605 committed Jan 15, 2024
1 parent 38e88b2 commit 0bf64d3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/unit_tests_backwards_compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
new_cc_ref:
description: 'New Version of CC_NG that needs testing for backwards incompatible changes'
required: true
new_cc_repo:
description: 'New REPO of CC_NG that needs testing for backwards incompatible changes'
required: false
default: '${{ github.repository }}'
pull_request:
branches: [ main ]
paths:
Expand Down Expand Up @@ -50,7 +54,12 @@ jobs:
ref: ${{ (
github.event_name == 'workflow_dispatch'
&& github.event.inputs.new_cc_ref
|| github.head_ref
|| github.event.pull_request.head.ref
)}}
repository: ${{ (
github.event_name == 'workflow_dispatch'
&& github.event.inputs.new_cc_repo
|| github.event.pull_request.head.repo.full_name
)}}
- name: Setup Environment
uses: ./.github/workflows/composite/setup
Expand Down

0 comments on commit 0bf64d3

Please sign in to comment.