Skip to content

Commit

Permalink
Merge branch 'feature/RI_in_input' of https://github.com/OasisLMF/Oas…
Browse files Browse the repository at this point in the history
…isPiWind into feature/RI_in_input
  • Loading branch information
sstruzik committed Jul 24, 2024
2 parents 07c746d + 5bcb634 commit 9a7e9c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/run_mdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ on:
type: string

env:
SCRIPT_BRANCH: 'master'
SCRIPT_BRANCH: 'main'
PIWIND_BRANCH: ${{ github.ref }}
MDK_BRANCH: 'main'
MDK_RUN: 'ri'
Expand Down Expand Up @@ -96,6 +96,7 @@ jobs:
run: |
echo "MDK_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
echo "PIWIND_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
echo "SCRIPT_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
- name: Update Params (Pull Request)
if: github.event_name == 'pull_request'
Expand All @@ -104,6 +105,7 @@ jobs:
if [[ -z "${{ inputs.piwind_branch }}" ]]; then
# Pull Request from PiWind (Set MDK)
echo "MDK_BRANCH=${{ github.base_ref }}" >> $GITHUB_ENV
echo "SCRIPT_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
else
# Pull Request from OasisLMF (Set piwind)
echo "PIWIND_BRANCH=${{ github.base_ref }}" >> $GITHUB_ENV
Expand Down

0 comments on commit 9a7e9c6

Please sign in to comment.