Skip to content

hato-botのCIを反映するよ! #8281

hato-botのCIを反映するよ!

hato-botのCIを反映するよ! #8281

---
name: pr-update-gitleaks
on:
pull_request:
types:
- opened
- synchronize
- reopened
- closed
push:
branches:
- master
permissions:
contents: write
pull-requests: write
jobs:
pr-update-gitleaks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
if: github.event_name != 'pull_request' || github.event.action != 'closed'
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
if: github.event_name != 'pull_request' || github.event.action != 'closed'
with:
cache: npm
node-version-file: package.json
- name: Install packages
if: github.event_name != 'pull_request' || github.event.action != 'closed'
run: bash "${GITHUB_WORKSPACE}/scripts/npm_ci.sh"
- uses: dev-hato/actions-update-gitleaks@3ef8b2a72aff26753f47e2f161f895c1be0ab3c5 # v0.0.82
with:
github-token: ${{secrets.GITHUB_TOKEN}}
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true