diff --git a/.github/workflows/auto_add_issues_to_user_kanban.yaml b/.github/workflows/auto_add_issues_to_user_kanban.yaml new file mode 100644 index 0000000..abcb542 --- /dev/null +++ b/.github/workflows/auto_add_issues_to_user_kanban.yaml @@ -0,0 +1,14 @@ +name: Add to personal projects + +on: + issues: + types: + - assigned + pull_request: + types: + - assigned + +jobs: + add-to-project: + uses: CCBR/.github/.github/workflows/auto-add-user-project.yml@v0.1.0 + secrets: inherit diff --git a/.github/workflows/auto_add_reponame_labels.yaml b/.github/workflows/auto_add_reponame_labels.yaml new file mode 100644 index 0000000..a6d4acb --- /dev/null +++ b/.github/workflows/auto_add_reponame_labels.yaml @@ -0,0 +1,10 @@ +name: Auto add reponame as label to all issues and PRs + +on: + issues: + pull_request: + +jobs: + add_label: + uses: CCBR/.github/.github/workflows/add_reponame_issue_label.yml@v0.2.0 + secrets: inherit diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..946913a --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,33 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v1.2.3 + hooks: + - id: check-added-large-files + #- id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace + # Python formatting + - repo: https://github.com/psf/black + rev: 23.7.0 + hooks: + - id: black + # R formatting + - repo: https://github.com/lorenzwalthert/precommit + rev: v0.1.2 + hooks: + - id: style-files + # general linting + - repo: https://github.com/pre-commit/mirrors-prettier + rev: v2.7.1 + hooks: + - id: prettier + # spell check + - repo: https://github.com/codespell-project/codespell + rev: v2.2.4 + hooks: + - id: codespell + # enforce commit format + - repo: https://github.com/compilerla/conventional-pre-commit + rev: v2.3.0 + hooks: + - id: conventional-pre-commit