π Replace gitleaks with trufflehog and runs it in global pre-push hook π½ #2714
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: π | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
dprint: | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dprint/check@v2.2 | |
with: | |
dprint-version: '0.48.0' # selfup {"extract":"\\d[^']+","replacer":["dprint", "--version"], "nth": 2} | |
typos: | |
timeout-minutes: 15 | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: crate-ci/typos@v1.27.3 # selfup {"extract":"\\d\\.\\d+\\.\\d+","replacer":["typos", "--version"], "nth": 2} | |
with: | |
# https://github.com/crate-ci/typos/issues/779#issuecomment-1635761199 | |
files: | | |
. | |
.github | |
.vscode | |
stylua: | |
timeout-minutes: 15 | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
# Pinning because of needed the GITHUB_TOKEN | |
- uses: JohnnyMorganz/stylua-action@b6661824b86c9c33121bed87a778b660ba90cf77 # v4.0.0 | |
with: | |
token: ${{ github.token }} | |
version: '0.20.0' # selfup {"extract":"\\d\\.\\d+\\.\\d+","replacer":["stylua", "--version"], "nth": 2} | |
args: --check . |