diff --git a/.github/workflows/stylua.yml b/.github/workflows/stylua.yml index eb60303..2039108 100644 --- a/.github/workflows/stylua.yml +++ b/.github/workflows/stylua.yml @@ -1,6 +1,10 @@ # Check Lua Formatting name: Check Lua Formatting -on: pull_request_target +on: + push: + branches: + - master + pull_request: jobs: stylua-check: @@ -10,8 +14,6 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v6 - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Stylua Check uses: JohnnyMorganz/stylua-action@v4 with: