chore(deps): update actions/dependency-review-action action to v4.1.0 #9085
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: update-gitleaks | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- closed | |
merge_group: | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
update-gitleaks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
if: github.event_name != 'pull_request' || github.event.action != 'closed' | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha || github.event.merge_group.head_sha }} | |
- uses: actions/[email protected] | |
if: github.event_name != 'pull_request' || github.event.action != 'closed' | |
with: | |
node-version-file: .node-version | |
cache: npm | |
- name: Install packages | |
if: github.event_name != 'pull_request' || github.event.action != 'closed' | |
run: npm ci | |
- uses: dev-hato/[email protected] | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | |
cancel-in-progress: true |