Skip to content

Commit

Permalink
Fix experience var read from cli
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianDeconinck committed Aug 1, 2023
1 parent 27d8631 commit 5dac1a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/discover-oncomment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ jobs:
BODY="${{github.event.comment.body}}"
EXP_NAME_DIRTY=${BODY#*--name=}
EXP_NAME=${EXP_NAME_DIRTY%% *}
echo "name=${EXP_NAME}" >> "$GITHUB_OUTPUT"
echo "name=$EXP_NAME" >> "$GITHUB_OUTPUT"
EXP_ACTION_DIRTY=${BODY#*--action=}
EXP_ACTION=${EXP_ACTION_DIRTY%% *}
echo "action=${EXP_ACTION}" >> "$GITHUB_OUTPUT"
echo "action=$EXP_ACTION" >> "$GITHUB_OUTPUT"
gh pr comment $PR_NO --repo $REPO --body 'Discover experiment started 🚀:
Parameters: ${EXP_NAME} ${EXP_ACTION}
Parameters: $EXP_NAME $EXP_ACTION
Url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
env:
REPO: ${{ github.repository }}
Expand Down

0 comments on commit 5dac1a4

Please sign in to comment.