From 12b21a0472a12b9c97f730c643788081a3d42d46 Mon Sep 17 00:00:00 2001 From: Sam <109683132+kernelsam@users.noreply.github.com> Date: Thu, 30 May 2024 17:22:20 -0700 Subject: [PATCH] add jscpd config, update workflow permissions --- .github/linters/.jscpd.json | 3 +++ .github/workflows/pylint.yaml | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 .github/linters/.jscpd.json diff --git a/.github/linters/.jscpd.json b/.github/linters/.jscpd.json new file mode 100644 index 0000000..18390a6 --- /dev/null +++ b/.github/linters/.jscpd.json @@ -0,0 +1,3 @@ +{ + "threshold": 2 +} \ No newline at end of file diff --git a/.github/workflows/pylint.yaml b/.github/workflows/pylint.yaml index eee9d29..22bb778 100644 --- a/.github/workflows/pylint.yaml +++ b/.github/workflows/pylint.yaml @@ -2,6 +2,9 @@ name: pylint on: [push] +permissions: + contents: read + jobs: pylint: runs-on: ubuntu-latest