-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: autoupdate pre-commit hooks (#16)
* DX: configure VSCode Rewrap extension * DX: synchronize ComPWA developer setup * DX: add PR linting with shared commitlint config * MAINT: remove quotations from EditorConfig version * MAINT: remove GitPod config
- Loading branch information
Showing
7 changed files
with
46 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: PR linting | ||
on: | ||
pull_request: | ||
types: | ||
- edited | ||
- labeled | ||
- opened | ||
- reopened | ||
- synchronize | ||
- unlabeled | ||
|
||
jobs: | ||
check-labels: | ||
name: Check labels | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: docker://agilepathway/pull-request-label-checker:latest # cspell:ignore agilepathway | ||
with: | ||
any_of: >- | ||
🐛 Bug,✨ Feature,⚙️ Enhancement,⚠️ Interface,❗ Behavior,📝 Docs,🔨 Maintenance,🖱️ DX | ||
none_of: Epic,💫 Good first issue | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
check-title: | ||
name: Check title | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: npm install @compwa/commitlint-config | ||
- name: Create commitlint config | ||
run: | | ||
echo "module.exports = {extends: ['@compwa/commitlint-config']}" > commitlint.config.js | ||
- uses: JulienKode/pull-request-name-linter-action@v0.5.0 # cspell:ignore kode |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
{ | ||
"editor.formatOnSave": true | ||
"[git-commit]": { | ||
"editor.rulers": [72], | ||
"rewrap.wrappingColumn": 72 | ||
}, | ||
"editor.formatOnSave": true, | ||
"rewrap.wrappingColumn": 88 | ||
} |
This file was deleted.
Oops, something went wrong.