EpochCraft Server Addition to Server List #1898
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: Issue Helper | |
on: | |
issues: | |
types: [opened] | |
workflow_dispatch: | |
inputs: | |
issue_number: | |
description: 'Issue number to run this action on' | |
required: true | |
type: integer | |
jobs: | |
base: | |
runs-on: ubuntu-latest | |
outputs: | |
parsed: ${{ steps.parse.outputs.payload }} | |
steps: | |
- name: Parse issue | |
id: parse | |
uses: onmax/[email protected] | |
with: | |
issue_number: ${{ github.event_name == 'workflow_dispatch' && inputs.issue_number || github.event.issue.number }} | |
- name: Annotate issue | |
id: annotate | |
uses: GTNewHorizons/GTNHIssueHelper@latest | |
with: | |
formdata: ${{ steps.parse.outputs.payload }} | |
- name: Post comment | |
if: ${{ steps.annotate.outputs.comments != ''}} | |
uses: peter-evans/[email protected] | |
with: | |
body: ${{ steps.annotate.outputs.comments }} | |
issue-number: ${{ github.event_name == 'workflow_dispatch' && inputs.issue_number || github.event.issue.number }} |