Mark Discussion Comment Answer #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mark Discussion Comment Answer | |
on: | |
discussion_comment: | |
types: [created] | |
jobs: | |
mark-comment-answer: | |
name: Mark a discussion comment as the answer | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Run Mark Discussion Comment Answer | |
id: markanswer | |
uses: ./ | |
with: | |
GITHUB_TOKEN: ${{ secrets.DISCUSS_TOKEN }} | |
- name: Show Mark Answer Output | |
run: | | |
echo "discussionId = ${{ steps.markanswer.outputs.discussionId }}" |