diff --git a/.github/workflows/secrets-scan.yaml b/.github/workflows/secrets-scan.yaml index d670e54..a77c867 100644 --- a/.github/workflows/secrets-scan.yaml +++ b/.github/workflows/secrets-scan.yaml @@ -6,6 +6,7 @@ on: jobs: filter: runs-on: ubuntu-latest + if: ${{ !contains(github.actor, '[bot]') }} # [bot]を含む場合は除外する outputs: workdirs: ${{ steps.dirs.outputs.workdirs }} steps: @@ -29,6 +30,7 @@ jobs: scan: needs: filter runs-on: ubuntu-latest + if: ${{ !contains(github.actor, '[bot]') }} # [bot]を含む場合は除外する strategy: matrix: workdir: ${{ fromJSON(needs.filter.outputs.workdirs) }}