Skip to content

Merge pull request #3758 from dev-hato/renovate/sqlfluff-3.x #10640

Merge pull request #3758 from dev-hato/renovate/sqlfluff-3.x

Merge pull request #3758 from dev-hato/renovate/sqlfluff-3.x #10640

Workflow file for this run

---
name: pr-test
on:
pull_request:
push:
branches:
- master
- develop
jobs:
pr-super-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
submodules: "recursive"
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version-file: .python-version
cache: pipenv
- name: Install pipenv
env:
DEST_PATH: "/home/runner/work/_temp/_github_workflow/.venv"
run: bash "${GITHUB_WORKSPACE}/scripts/pr_test/pr_super_lint/install_pipenv.sh"
- name: Set up Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
cache: npm
- name: Install dependencies
run: bash "${GITHUB_WORKSPACE}/scripts/pr_test/pr_super_lint/npm_ci.sh"
- name: Lint files
uses: super-linter/super-linter/slim@e0fc164bba85f4b58c6cd17ba1dfd435d01e8a06 # v6.3.0
env:
VALIDATE_ALL_CODEBASE: true
VALIDATE_SQLFLUFF: false
VALIDATE_CHECKOV: false # TODO: checkovが依存するopenaiのバージョンがアップデートされたら削除
LINTER_RULES_PATH: .
FILTER_REGEX_EXCLUDE: ".*assets/.*.txt"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
WORKON_HOME: ""
PYTHONPATH: ${{ env.PYTHONPATH }}
pr-dotenv-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
submodules: "recursive"
fetch-depth: 0
- name: Lint dotenv
uses: dotenv-linter/action-dotenv-linter@501832aa89e07af7fc4599029544dda0598ec0d1 # v2.18.0
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true