Skip to content

refactor: move splunk secrets to integration folder #79

refactor: move splunk secrets to integration folder

refactor: move splunk secrets to integration folder #79

Workflow file for this run

---
# yamllint disable rule:comments
# yamllint disable rule:truthy
name: Pre-commit Code Quality Checks
on:
pull_request:
types:
- opened
- synchronize
- reopened
branches:
- main
push:
branches:
- main
permissions:
contents: read
jobs:
run-pre-commit:
runs-on: ubuntu-latest
timeout-minutes: 60
container:
image: ghcr.io/${{ github.repository }}-pre-commit:main
steps:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Cache Pre-commit
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: ~/.cache/pre-commit/
key: pre-commit|${{ github.repository }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Mark repository as safe
shell: bash
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Run pre-commit in all files
shell: bash
run: pre-commit run --show-diff-on-failure --color=always --all-files | tee pre-commit.log