Skip to content

chore(deps): lock file maintenance (#1836) #5621

chore(deps): lock file maintenance (#1836)

chore(deps): lock file maintenance (#1836) #5621

---
name: update-gitleaks
on:
pull_request:
types:
- opened
- synchronize
- reopened
- closed
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
update-gitleaks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
if: github.event_name != 'pull_request' || github.event.action != 'closed'
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
if: github.event_name != 'pull_request' || github.event.action != 'closed'
with:
cache: npm
- name: Install packages
if: github.event_name != 'pull_request' || github.event.action != 'closed'
run: npm ci --prefer-offline
- uses: dev-hato/actions-update-gitleaks@65085477addf0c42b7fc956671916c997cea00a9 # v0.0.94
with:
github-token: ${{secrets.GITHUB_TOKEN}}
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true