Skip to content

Merge pull request #106 from ucpr/dependabot/github_actions/denoland/… #376

Merge pull request #106 from ucpr/dependabot/github_actions/denoland/…

Merge pull request #106 from ucpr/dependabot/github_actions/denoland/… #376

Workflow file for this run

name: Lint
on:
push:
pull_request:
jobs:
run-secretlint:
name: "Secretlint only on changed files"
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/[email protected]
- name: setup get-diff-action
uses: technote-space/[email protected]
- name: Run secretlint command on docker
uses: addnab/docker-run-action@v3
with:
image: secretlint/secretlint:v5.1.1
options: >
-v ${{ github.workspace }}:${{ github.workspace }}
-w=${{ github.workspace }}
--rm
run: secretlint ${{ env.GIT_DIFF_FILTERED }} # run only on changed files