create a website that automaticcally generates a world and plays it. #95
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
name: Fix Lint Command | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
if: >- | |
github.event.issue.pull_request != '' && | |
( | |
contains(github.event.comment.body, '/fix') | |
) | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: refs/pull/${{ github.event.issue.number }}/head | |
- run: pnpm lint --fix | |
- name: Push Changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |