Skip to content

Commit

Permalink
Bump senzing-factory/build-resources from 1 to 2 (#61)
Browse files Browse the repository at this point in the history
* Bump senzing-factory/build-resources from 1 to 2

Bumps [senzing-factory/build-resources](https://github.com/senzing-factory/build-resources) from 1 to 2.
- [Release notes](https://github.com/senzing-factory/build-resources/releases)
- [Changelog](https://github.com/senzing-factory/build-resources/blob/main/CHANGELOG.md)
- [Commits](senzing-factory/build-resources@v1...v2)

---
updated-dependencies:
- dependency-name: senzing-factory/build-resources
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* add jscpd config and workflow permissions

* Add pylint exception

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sam <109683132+kernelsam@users.noreply.github.com>
Co-authored-by: docktermj <michael@dockter.com>
  • Loading branch information
3 people authored May 29, 2024
1 parent 5622415 commit 52c6f53
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 5 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": 7
}
7 changes: 4 additions & 3 deletions .github/workflows/add-labels-standardized.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ on:
- opened
- reopened

permissions:
issues: write

jobs:
add-issue-labels:
permissions:
issues: write
secrets:
ORG_MEMBERSHIP_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }}
SENZING_MEMBERS: ${{ secrets.SENZING_MEMBERS }}
uses: senzing-factory/build-resources/.github/workflows/add-labels-to-issue.yaml@v1
uses: senzing-factory/build-resources/.github/workflows/add-labels-to-issue.yaml@v2
3 changes: 3 additions & 0 deletions .github/workflows/add-to-project-community-dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ env:
CREATOR: ${{ github.event.pull_request.user.login }}
GITHUB_TOKEN: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}

permissions:
repository-projects: write

jobs:
add-to-project-dependabot:
name: add issue to Senzing Community project
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/add-to-project-community.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- opened
- reopened

permissions:
repository-projects: write

jobs:
add-to-project:
name: add issue to project
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ permissions:

jobs:
lint-workflows:
uses: senzing-factory/build-resources/.github/workflows/lint-workflows.yaml@v1
uses: senzing-factory/build-resources/.github/workflows/lint-workflows.yaml@v2
5 changes: 4 additions & 1 deletion .github/workflows/move-pr-to-done-dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ on:
branches: [main]
types: [closed]

permissions:
repository-projects: write

jobs:
move-pr-to-done-dependabot:
secrets:
SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done.yaml@v1
uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done.yaml@v2
3 changes: 3 additions & 0 deletions .github/workflows/pylint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: pylint

on: [push]

permissions:
contents: read

jobs:
pylint:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
.history
1 change: 1 addition & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ disable=
missing-function-docstring,
missing-module-docstring,
no-else-continue,
possibly-used-before-assignment,
redefined-builtin,
redefined-outer-name,
too-many-branches,
Expand Down

0 comments on commit 52c6f53

Please sign in to comment.