Skip to content

Commit

Permalink
Update add-playlist-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dark-Kernel authored Nov 24, 2024
1 parent 7ca8c7b commit 57fcb00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/add-playlist-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ jobs:
- name: Validate JSON and process contribution
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EVENT_ID: ${{ event.payload.issue.number }}
GITHUB_CONTEXT: ${{ toJson(github) }}
EVENT_ID: ${{ github.event.payload.issue.number }}
ISSUE_BODY: ${{ github.event.issue.body }}
run: |
echo "Github context: $GITHUB_CONTEXT"
BODY="$ISSUE_BODY"
echo "body ===> $BODY"
PLAYLIST_TITLE=$(echo "$BODY" | grep "### Playlist Title" -A 2 | tail -n 1)
Expand Down

0 comments on commit 57fcb00

Please sign in to comment.