Skip to content

Create Theme

Create Theme #6

Workflow file for this run

on:
issues:
types: [opened]
jobs:
createPR:
permissions: write-all
name: Submit a theme
runs-on: ubuntu-latest
steps:
- name: Parse issue
id: parse
uses: onmax/[email protected]
with:
issue_number: ${{ github.event.issue.number }}
# Examples on how to use the output
- name: Show parsed payload data
run: |
# Using the character `'` to prevent all characters enclosed within
# them from being treated as special characters (e.g. $ or `)
echo '${{ steps.parse.outputs.payload }}'
- if: startsWith(github.event.issue.title, '[create-theme]:') != 'true'
name: Close Issue
uses: peter-evans/close-issue@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
comment: |
# Thank you for your contribution!