diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml new file mode 100644 index 000000000..20152dc0a --- /dev/null +++ b/.github/workflows/actionlint.yml @@ -0,0 +1,26 @@ +name: actionlint + +on: + workflow_dispatch: + pull_request: + paths: + - '.github/workflows/**' + push: + branches: [main] + paths: + - '.github/workflows/**' + +permissions: + contents: read + +jobs: + actionlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install and run actionlint + shell: bash + run: | + bash <(curl --proto '=https' --tlsv1.2 -sSf \ + https://raw.githubusercontent.com/rhysd/actionlint/v1.7.7/scripts/download-actionlint.bash) + ./actionlint -color diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8a8026c1c..a7bbc7c40 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -27,6 +27,8 @@ jobs: build-mode: manual - language: java-kotlin build-mode: manual + - language: actions + build-mode: none steps: - name: Checkout repository uses: actions/checkout@v4 @@ -63,6 +65,7 @@ jobs: with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} + queries: security-extended - name: Build C runtime (manual c-cpp) if: matrix.language == 'c-cpp'