Skip to content

feat(skills): skill marketplace v0 — sell + rate skills as a single unit #296

feat(skills): skill marketplace v0 — sell + rate skills as a single unit

feat(skills): skill marketplace v0 — sell + rate skills as a single unit #296

Workflow file for this run

name: Gitleaks
on:
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
jobs:
gitleaks:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Install gitleaks
run: |
GITLEAKS_VERSION=8.30.1
GITLEAKS_SHA256=551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb
curl -sSfL -o gitleaks.tar.gz "https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz"
echo "${GITLEAKS_SHA256} gitleaks.tar.gz" | sha256sum -c -
tar xzf gitleaks.tar.gz gitleaks
sudo mv gitleaks /usr/local/bin/
- name: Run gitleaks on PR diff
if: github.event_name == 'pull_request'
run: gitleaks detect --log-opts "${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}" --verbose
- name: Run gitleaks on push
if: github.event_name == 'push'
run: gitleaks detect --log-opts "${{ github.event.before }}..${{ github.sha }}" --verbose