Skip to content

[New podcast]: test

[New podcast]: test #2

Workflow file for this run

name: Add podcast
on:
issues:
types:
- labeled
concurrency: 'main'
jobs:
add_podcast:
if: github.event.label.name == 'podcast-approved'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- uses: stefanbuck/github-issue-praser@v3
id: issue-parser
with:
template-path: .github/ISSUE_TEMPLATE/add-podcast.yml
- run: echo '${{ steps.issue-parser.outputs.jsonString }}' > add-podcast.json
- run: cat add-podcast.json
- run: node ../scripts/add-podcast.js
- name: Commit changes
shell: bash
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com" && \
git config --global user.name "github-actions[bot]" && \
git add README.md && \
git commit -m 'Add podcast' && \
git push
- uses: peter-evans/close-issue@v1
with:
comment: 'Podcast added: thanks for your contribution!'