fix(active-checks): use HTTP/1.1 for health check probes with automat… #110
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: Lint | |
| concurrency: | |
| # for PR's cancel the running task, if another commit is pushed | |
| group: ${{ github.workflow }} ${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| on: | |
| pull_request: {} | |
| workflow_dispatch: {} | |
| push: | |
| branches: | |
| - main | |
| - master | |
| jobs: | |
| lua-check: | |
| name: Lua Check | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| issues: read | |
| checks: write | |
| pull-requests: write | |
| if: (github.actor != 'dependabot[bot]') | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v4 | |
| # Optional step to run on only changed files | |
| - name: Get changed files | |
| id: changed-files | |
| uses: kong/changed-files@4edd678ac3f81e2dc578756871e4d00c19191daf | |
| with: | |
| files: | | |
| **.lua | |
| - name: Lua Check | |
| if: steps.changed-files.outputs.any_changed == 'true' | |
| uses: Kong/public-shared-actions/code-check-actions/lua-lint@fa3d956324c2633b23cc3825b3403d91460675a1 # 4.1.4 | |
| with: | |
| additional_args: '--no-default-config --config .luacheckrc' | |
| files: ${{ steps.changed-files.outputs.all_changed_files }} |