Commit aab242d 1 parent cac6a39 commit aab242d Copy full SHA for aab242d
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,11 +72,10 @@ jobs:
72
72
73
73
- name : Get base branch for PR
74
74
id : base
75
+ # Get the base branch name from the PR
75
76
env :
76
77
GH_TOKEN : ${{ github.token }}
77
- run : |
78
- gh pr checkout ${{ github.event.issue.number }}
79
- echo "branch=$(gh pr view --json baseRefName --jq '.baseRefName')"
78
+ run : echo "branch=$(gh pr view ${{ github.event.issue.number }} --json baseRefName --jq '.baseRefName')" >> $GITHUB_OUTPUT
80
79
81
80
- name : Read reproducibility tests config
82
81
id : repro-config
@@ -127,6 +126,7 @@ jobs:
127
126
echo "::error::Usage: ${{ env.USAGE }}"
128
127
echo "::error::Command must start with !test to invoke model-config-tests' config-comment-test.yml."
129
128
exit 1
129
+ fi
130
130
131
131
- name : Get !test type
132
132
id : test
You can’t perform that action at this time.
0 commit comments