Skip to content

Commit

Permalink
add jscpd config, update workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelsam committed May 31, 2024
1 parent 0daa8c7 commit 09bbf25
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/linters/.jscpd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"threshold": 3
}
3 changes: 3 additions & 0 deletions .github/workflows/build-distribution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: build distribution

on: [push]

permissions:
contents: read

jobs:
build-distribution:
name: build distribution
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-to-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- "[0-9]+.[0-9]+.[0-9]+"

permissions:
contents: read

jobs:
build-distribution:
name: build distribution
Expand Down

0 comments on commit 09bbf25

Please sign in to comment.