Skip to content

リリース

リリース #17898

Workflow file for this run

---
name: pr-test
on:
pull_request:
branches:
- develop
- master
push:
branches:
- master
- develop
permissions: {}
jobs:
pr-super-lint:
runs-on: ubuntu-latest
permissions:
statuses: write
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
submodules: "recursive"
fetch-depth: 0
persist-credentials: false
- name: Set up uv
uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0
with:
enable-cache: true
- name: Install uv
run: bash "${GITHUB_WORKSPACE}/scripts/uv_install.sh"
- name: Set venv path
env:
DEST_PATH: "/home/runner/work/_temp/_github_workflow/.venv"
run: bash "${GITHUB_WORKSPACE}/scripts/pr_test/pr_super_lint/set_venv_path.sh"
- name: Set up Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
cache: npm
node-version-file: package.json
- 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@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2
env:
VALIDATE_ALL_CODEBASE: true
VALIDATE_SQLFLUFF: false
VALIDATE_CHECKOV: false # TODO: checkovが依存するopenaiのバージョンがアップデートされたら削除
VALIDATE_JSCPD: false
VALIDATE_TYPESCRIPT_STANDARD: false
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 }}
VALIDATE_GIT_COMMITLINT: false
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
VALIDATE_TRIVY: false
VALIDATE_BIOME_FORMAT: false
VALIDATE_BIOME_LINT: false
VALIDATE_PYTHON_RUFF_FORMAT: false
pr-dotenv-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
submodules: "recursive"
fetch-depth: 0
persist-credentials: false
- name: Lint dotenv
uses: dotenv-linter/action-dotenv-linter@21287e2624aaf2dc8da5dd8ccfe8e49c63501116 # v2.25.0
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true