[cant craftt] <for some reason when ever I craft it wont let me seperate my wood #1205
This file contains hidden or 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 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - run: pnpm install | |
| - run: pnpm lint --fix | |
| - name: Push Changes | |
| uses: ad-m/github-push-action@master | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} |