Skip to content

update-issue-templates #12

update-issue-templates

update-issue-templates #12

Workflow file for this run

name: update-issue-templates
on: [workflow_dispatch]
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm run setup:scripts
- run: node ${GITHUB_WORKSPACE}/scripts/template-updater/src/app.js --github ${GITHUB_WORKSPACE}/.github/ISSUE_TEMPLATE/
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "Michael"
git commit -a -m "Updated issue templates"
- name: Push updates
uses: ad-m/github-push-action@master
with:
branch: ${{ github.ref }}