Skip to content

Commit

Permalink
Update create_exercises.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hkershaw-brown authored Dec 27, 2023
1 parent acf51df commit 9089d61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/create_exercises.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ jobs:
if: hashFiles(env.issueFile) !=''
run: |
echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
echo ${{ github.server_url }}/${{ github.respository }}
cat issues/${{ inputs.language }}-ex${{ matrix.exercise }}-issue.md > issuebody
sed -i 's|REPO_URL|$GITHUB_SERVER_URL/$GITHUB_REPOSITORY|g' issuebody
sed -i 's|REPO_URL|${{ github.server_url }}/${{ github.respository }}|g' issuebody
echo "BAR=$(gh issue create --title "${{ inputs.language }}: Exercise ${{ matrix.exercise }}" --body-file issuebody --label ${{ inputs.language }})" >> $GITHUB_ENV
- name: query_branch_exists
run: |
Expand Down

0 comments on commit 9089d61

Please sign in to comment.