Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/jscpd-duplication-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
pull-requests: write

Comment on lines +12 to +15
jobs:
call-jscpd-duplication-check:
if: ${{ github.event.pull_request.draft == false }}
Expand All @@ -23,4 +27,3 @@ jobs:
# The shared workflow reads jscpd v4's per-format `total` schema.
command_to_run: 'pnpm dlx jscpd@4.0.8 --ignore "**/node_modules/**" --output report --reporters json'
package_manager: 'pnpm'

4 changes: 4 additions & 0 deletions .github/workflows/original-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
pull_request:
types: [assigned, opened, synchronize, reopened]

permissions:
contents: read
pull-requests: write
Comment on lines +7 to +9

jobs:
lint-and-test:
runs-on: ubuntu-latest
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/secrets-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
branches:
- master

permissions:
contents: read
pull-requests: write

jobs:
secrets-scan:
runs-on: ubuntu-latest
Expand All @@ -23,4 +27,4 @@ jobs:
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE_KEY }}
GITLEAKS_NOTIFY_USER_LIST: ${{ vars.GITLEAKS_NOTIFY_USER_LIST }}
GITLEAKS_ENABLE_COMMENTS: 'true'
GITLEAKS_ENABLE_UPLOAD_ARTIFACT: 'false'
GITLEAKS_ENABLE_UPLOAD_ARTIFACT: 'false'
4 changes: 4 additions & 0 deletions .github/workflows/test-myself.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
pull_request:
types: [assigned, opened, synchronize, reopened]

permissions:
contents: read
pull-requests: write
Comment on lines +7 to +9

jobs:
lint-and-test:
runs-on: ubuntu-latest
Expand Down
Loading