Skip to content

Commit

Permalink
Merge pull request #35 from jmetrikat/gh-3-treat-special-symbols-in-m…
Browse files Browse the repository at this point in the history
…anage-experience

GH-3 Fix scripts to properly treat special symbols
  • Loading branch information
fuksman authored Jan 28, 2024
2 parents 50e2619 + 05249ed commit 63666c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/manage-experience.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
with:
template-path: .github/ISSUE_TEMPLATE/new_experience.yml
- run: |
echo "experience_name=$(echo ${{ steps.issue-parser.outputs.issueparser_title }} | sed -e 's/[^[:alnum:]]/_/g' | tr -s '_' | tr A-Z a-z)" >> "$GITHUB_ENV"
echo "command=$(echo ${{ github.event.comment.body }} | cut -d' ' -f2)" >> "$GITHUB_ENV"
- run: echo "pr=$(gh pr view ${{ env.experience_name }} --json=number -q='.number')" >> "$GITHUB_ENV"
echo "experience_name=$(echo '${{ steps.issue-parser.outputs.issueparser_title }}' | sed -e 's/[^[:alnum:]]/_/g' | tr -s '_' | tr A-Z a-z)" >> "$GITHUB_ENV"
echo "command=$(echo '${{ github.event.comment.body }}' | cut -d' ' -f2)" >> "$GITHUB_ENV"
- run: echo "pr=$(gh pr view '${{ env.experience_name }}' --json=number -q='.number')" >> "$GITHUB_ENV"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- id: reject
Expand Down

0 comments on commit 63666c8

Please sign in to comment.