Skip to content

辅導癌症患者及家属技巧 #3

辅導癌症患者及家属技巧

辅導癌症患者及家属技巧 #3

Workflow file for this run

name: Data submission
on:
issues:
types:
- labeled
jobs:
Parse-and-Submit:
if: github.event.label.name == 'documentation'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: issue-parser
uses: stefanbuck/github-issue-parser@v3
with:
template-path: ".github/ISSUE_TEMPLATE/submit-data.yml"
- name: Add data to YAML
run: |
cat << EOF >> ${{ steps.issue-parser.outputs.issueparser_category }}.yml
- name: "${{ github.event.issue.title }}"
author: "${{ steps.issue-parser.outputs.issueparser_author }}"
description: |
${{ steps.issue-parser.outputs.issueparser_description }}
link: "${{ steps.issue-parser.outputs.issueparser_link }}"
EOF
- uses: peter-evans/create-pull-request@v6
with:
title: "[add] data of ${{ github.event.issue.title }}"
body: "closes #${{ github.event.issue.number }}"