Skip to content

chore(deps): bump url from 2.5.8 to 2.5.9 #333

chore(deps): bump url from 2.5.8 to 2.5.9

chore(deps): bump url from 2.5.8 to 2.5.9 #333

Workflow file for this run

# Working-tree secret scan using the committed .gitleaks.toml allowlist.
# Pinned release + checksum rather than gitleaks-action: that action needs a
# GITLEAKS_LICENSE on organization repos, and this job should not take on
# another action dependency to do its work.
name: gitleaks
on:
push:
branches: [master]
pull_request:
concurrency:
group: gitleaks-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
gitleaks:
name: gitleaks
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- name: Install gitleaks (pinned + checksummed)
env:
GITLEAKS_VERSION: 8.30.1
GITLEAKS_SHA256: 551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb
run: |
set -euo pipefail
archive="gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz"
curl --fail --silent --show-error --location --retry 3 --retry-delay 2 \
-o "$archive" \
"https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/${archive}"
echo "${GITLEAKS_SHA256} ${archive}" | sha256sum --check --strict -
tar -xzf "$archive" gitleaks
install -m 0755 gitleaks /usr/local/bin/gitleaks
rm -f "$archive" gitleaks
gitleaks version
- name: Scan the checkout
run: gitleaks detect --source . --no-git --config .gitleaks.toml --no-banner --redact