Skip to content

Commit

Permalink
Read Testing Config Fix (#78)
Browse files Browse the repository at this point in the history
* config-comment-test.yml: Ended if block

* config-comment-test.yml: don't checkout the pr as later steps require the main branch
  • Loading branch information
CodeGat authored Oct 18, 2024
1 parent cac6a39 commit aab242d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/config-comment-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,10 @@ jobs:

- name: Get base branch for PR
id: base
# Get the base branch name from the PR
env:
GH_TOKEN: ${{ github.token }}
run: |
gh pr checkout ${{ github.event.issue.number }}
echo "branch=$(gh pr view --json baseRefName --jq '.baseRefName')"
run: echo "branch=$(gh pr view ${{ github.event.issue.number }} --json baseRefName --jq '.baseRefName')" >> $GITHUB_OUTPUT

- name: Read reproducibility tests config
id: repro-config
Expand Down Expand Up @@ -127,6 +126,7 @@ jobs:
echo "::error::Usage: ${{ env.USAGE }}"
echo "::error::Command must start with !test to invoke model-config-tests' config-comment-test.yml."
exit 1
fi
- name: Get !test type
id: test
Expand Down

0 comments on commit aab242d

Please sign in to comment.