diff --git a/.github/workflows/lint_pr.yaml b/.github/workflows/lint_pr.yaml new file mode 100644 index 00000000..6411d5c --- /dev/null +++ b/.github/workflows/lint_pr.yaml @@ -0,0 +1,39 @@ +--- +name: Lint PR +on: # yamllint disable-line rule:truthy + pull_request_target: + types: + - opened + - edited + - synchronize + - reopened + +permissions: + pull-requests: read + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + shellcheck: + name: shellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Display shellcheck version + run: shellcheck --version + - name: shellcheck + run: shellcheck -x **/*.sh + yamllint: + name: yamllint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Display yamllint version + run: yamllint --version + - name: yamllint + run: yamllint . diff --git a/static/screenshot.png b/static/screenshot.png index 8f2a021..5917749 100644 Binary files a/static/screenshot.png and b/static/screenshot.png differ