diff --git a/.github/workflows/lua-lint.yml b/.github/workflows/lua-lint.yml index ae612487..ad501b48 100644 --- a/.github/workflows/lua-lint.yml +++ b/.github/workflows/lua-lint.yml @@ -16,6 +16,11 @@ jobs: env: TEST_REPOSITORY: "${{github.repository_owner}}/atc-router" runs-on: ubuntu-latest + permissions: + contents: read + issues: read + checks: write + pull-requests: write name: Luacheck code analysis steps: - uses: actions/checkout@v3 diff --git a/code-check-actions/lua-lint/action.yml b/code-check-actions/lua-lint/action.yml index 1f4b0b44..45aa38fb 100644 --- a/code-check-actions/lua-lint/action.yml +++ b/code-check-actions/lua-lint/action.yml @@ -42,7 +42,7 @@ runs: # Publishing: https://github.com/EnricoMi/publish-unit-test-result-action#publishing-test-results - name: Luacheck Report uses: EnricoMi/publish-unit-test-result-action@v2 - if: always() + if: always() && github.actor != 'dependabot[bot]' with: files: | luacheck_${{github.sha}}.xml