Create Theme #6
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
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! |