Skip to content

Commit

Permalink
skip dependabot branches for luacheck xml report publishing (#75)
Browse files Browse the repository at this point in the history
skip failing checks due to check run creation by dependabot
  • Loading branch information
saisatishkarra authored Jan 12, 2024
1 parent b7def0b commit da9aa97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/lua-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion code-check-actions/lua-lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da9aa97

Please sign in to comment.