-
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.
DX: synchronize ComPWA developer setup
- Loading branch information
Showing
9 changed files
with
65 additions
and
66 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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# cspell:ignore agilepathway commitlint kode | ||
|
||
name: PR linting | ||
on: | ||
pull_request: | ||
|
@@ -14,19 +12,22 @@ on: | |
jobs: | ||
check-labels: | ||
name: Check labels | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: docker://agilepathway/pull-request-label-checker:latest | ||
- uses: docker://agilepathway/pull-request-label-checker:latest # cspell:ignore agilepathway | ||
with: | ||
any_of: Bug,✨ Feature,⚠️ Interface,📝 Docs,🔨 Maintenance,🖱️ DX | ||
none_of: Epic,❌ Won't fix,💫 Good first issue | ||
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-20.04 | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Install Dependencies | ||
run: npm install @commitlint/config-conventional | ||
- uses: JulienKode/[email protected] | ||
- 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/[email protected] # cspell:ignore kode |
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,16 +1,16 @@ | ||
exclude = [ | ||
"**/Cargo.toml", | ||
"**/Manifest.toml", | ||
"**/Project.toml", | ||
"labels*.toml", | ||
] | ||
|
||
[formatting] | ||
align_comments = false | ||
align_entries = false | ||
allowed_blank_lines = 1 | ||
array_auto_collapse = false | ||
array_auto_expand = true | ||
array_trailing_comma = true | ||
column_width = 88 | ||
compact_inline_tables = true | ||
indent_string = " " | ||
reorder_arrays = true | ||
reorder_keys = true |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,64 @@ | ||
[Bug] | ||
color = "d93f0b" | ||
name = "Bug" | ||
description = "Something isn't working" | ||
name = "Bug" | ||
|
||
[Epic] | ||
color = "3E4B9E" | ||
name = "Epic" | ||
description = "Collection of issues, managed by ZenHub" | ||
name = "Epic" | ||
|
||
["⚪ Duplicate"] | ||
color = "cfd3d7" | ||
name = "⚪ Duplicate" | ||
description = "This issue or pull request already exists" | ||
name = "⚪ Duplicate" | ||
|
||
["✨ Feature"] | ||
color = "c2e0c6" | ||
description = "New feature added to the package" | ||
name = "✨ Feature" | ||
|
||
["❌ Won't fix"] | ||
color = "ffffff" | ||
name = "❌ Won't fix" | ||
description = "This will not be worked on" | ||
name = "❌ Won't fix" | ||
|
||
["❔ Question"] | ||
color = "88506B" | ||
name = "❔ Question" | ||
description = "Discuss this matter in the team" | ||
|
||
["✨ Feature"] | ||
color = "c2e0c6" | ||
name = "✨ Feature" | ||
description = "New feature added to the package" | ||
name = "❔ Question" | ||
|
||
["💫 Good first issue"] | ||
color = "F4EAEF" | ||
name = "💫 Good first issue" | ||
description = "Good for newcomers" | ||
name = "💫 Good first issue" | ||
|
||
["📖 Analysis"] | ||
color = "FBE2BD" | ||
name = "📖 Analysis" | ||
description = "About HEP analysis techniques" | ||
name = "📖 Analysis" | ||
|
||
["📖 Software"] | ||
color = "FDF3E4" | ||
name = "📖 Software" | ||
description = "About software development" | ||
name = "📖 Software" | ||
|
||
["📖 Theory"] | ||
color = "F7C57B" | ||
name = "📖 Theory" | ||
description = "About physics" | ||
name = "📖 Theory" | ||
|
||
["📝 Docs"] | ||
color = "bfd4f2" | ||
name = "📝 Docs" | ||
description = "Improvements or additions to documentation" | ||
name = "📝 Docs" | ||
|
||
["🔨 Maintenance"] | ||
color = "FFCD8F" | ||
name = "🔨 Maintenance" | ||
description = "Refactoring that doesn't affect the interface" | ||
name = "🔨 Maintenance" | ||
|
||
["🖱️ DX"] | ||
color = "fef2c0" | ||
name = "🖱️ DX" | ||
description = "Improvements to the Developer Experience" | ||
name = "🖱️ DX" |
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