ci: format
This commit is contained in:
parent
4968e854e6
commit
5ad9238a46
7 changed files with 2272 additions and 5 deletions
|
|
@ -5,15 +5,18 @@ Create a conventional commit from staged or unstaged changes.
|
|||
## Instructions
|
||||
|
||||
1. Run exactly this one Bash command:
|
||||
|
||||
```
|
||||
git status --short && echo "---DIFF---" && git diff --cached && echo "---LOG---" && git log --oneline -5
|
||||
```
|
||||
|
||||
2. If the diff section is empty (nothing staged), ask the user which files to
|
||||
stage from the status list. Then run exactly one Bash command:
|
||||
|
||||
```
|
||||
git add <files> && git diff --cached
|
||||
```
|
||||
|
||||
Do NOT re-run status or log — you already have them.
|
||||
|
||||
3. Draft the commit message. Rules:
|
||||
|
|
|
|||
|
|
@ -5,9 +5,11 @@ Create a pull request from the current branch.
|
|||
## Instructions
|
||||
|
||||
1. Run exactly this one Bash command:
|
||||
|
||||
```
|
||||
echo "---BRANCH---" && git branch --show-current && echo "---LOG---" && git log --oneline main..HEAD && echo "---STAT---" && git diff main...HEAD --stat && echo "---TEMPLATE---" && cat .github/pull_request_template.md 2>/dev/null || true
|
||||
```
|
||||
|
||||
If the branch is `main` or `master`, tell the user and stop.
|
||||
|
||||
2. Draft the PR using the commit log and diffstat (do NOT run `git diff` for the
|
||||
|
|
@ -15,6 +17,7 @@ Create a pull request from the current branch.
|
|||
- **Title**: `type(scope): imperative summary`, max 72 chars. For
|
||||
single-commit PRs, reuse the commit header. For multi-commit, summarize.
|
||||
- **Body**: if a PR template was found in step 1, fill it in. Otherwise:
|
||||
|
||||
```
|
||||
## Problem
|
||||
|
||||
|
|
@ -24,6 +27,7 @@ Create a pull request from the current branch.
|
|||
|
||||
<what the change does>
|
||||
```
|
||||
|
||||
- Write in plain prose. No bullet walls, no AI markdown soup.
|
||||
|
||||
3. Present the title and body. Ask for approval.
|
||||
|
|
|
|||
|
|
@ -125,4 +125,4 @@
|
|||
"src": "https://github.com/lervag/vimtex"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1,50 @@
|
|||
{"version":5,"lastUserContextId":5,"identities":[{"icon":"fingerprint","color":"blue","l10nId":"user-context-personal","public":true,"userContextId":1},{"icon":"briefcase","color":"orange","l10nId":"user-context-work","public":true,"userContextId":2},{"icon":"dollar","color":"green","l10nId":"user-context-banking","public":true,"userContextId":3},{"icon":"cart","color":"pink","l10nId":"user-context-shopping","public":true,"userContextId":4},{"public":false,"icon":"","color":"","name":"userContextIdInternal.thumbnail","accessKey":"","userContextId":5},{"userContextId":4294967295,"public":false,"icon":"","color":"","name":"userContextIdInternal.webextStorageLocal","accessKey":""}]}
|
||||
{
|
||||
"version": 5,
|
||||
"lastUserContextId": 5,
|
||||
"identities": [
|
||||
{
|
||||
"icon": "fingerprint",
|
||||
"color": "blue",
|
||||
"l10nId": "user-context-personal",
|
||||
"public": true,
|
||||
"userContextId": 1
|
||||
},
|
||||
{
|
||||
"icon": "briefcase",
|
||||
"color": "orange",
|
||||
"l10nId": "user-context-work",
|
||||
"public": true,
|
||||
"userContextId": 2
|
||||
},
|
||||
{
|
||||
"icon": "dollar",
|
||||
"color": "green",
|
||||
"l10nId": "user-context-banking",
|
||||
"public": true,
|
||||
"userContextId": 3
|
||||
},
|
||||
{
|
||||
"icon": "cart",
|
||||
"color": "pink",
|
||||
"l10nId": "user-context-shopping",
|
||||
"public": true,
|
||||
"userContextId": 4
|
||||
},
|
||||
{
|
||||
"public": false,
|
||||
"icon": "",
|
||||
"color": "",
|
||||
"name": "userContextIdInternal.thumbnail",
|
||||
"accessKey": "",
|
||||
"userContextId": 5
|
||||
},
|
||||
{
|
||||
"userContextId": 4294967295,
|
||||
"public": false,
|
||||
"icon": "",
|
||||
"color": "",
|
||||
"name": "userContextIdInternal.webextStorageLocal",
|
||||
"accessKey": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1,24 @@
|
|||
{"defaultHandlersVersion":{},"mimeTypes":{"application/pdf":{"action":3,"extensions":["pdf"]},"image/webp":{"action":3,"extensions":["webp"]},"image/avif":{"action":3,"extensions":["avif"]},"image/jxl":{"action":3,"extensions":["jxl"]}},"schemes":{"mailto":{"stubEntry":true,"handlers":[null,{"name":"Gmail","uriTemplate":"https://mail.google.com/mail/?extsrc=mailto&url=%s"}]},"io.element.desktop":{"action":4},"element":{"action":4}},"isDownloadsImprovementsAlreadyMigrated":false}
|
||||
{
|
||||
"defaultHandlersVersion": {},
|
||||
"mimeTypes": {
|
||||
"application/pdf": { "action": 3, "extensions": ["pdf"] },
|
||||
"image/webp": { "action": 3, "extensions": ["webp"] },
|
||||
"image/avif": { "action": 3, "extensions": ["avif"] },
|
||||
"image/jxl": { "action": 3, "extensions": ["jxl"] }
|
||||
},
|
||||
"schemes": {
|
||||
"mailto": {
|
||||
"stubEntry": true,
|
||||
"handlers": [
|
||||
null,
|
||||
{
|
||||
"name": "Gmail",
|
||||
"uriTemplate": "https://mail.google.com/mail/?extsrc=mailto&url=%s"
|
||||
}
|
||||
]
|
||||
},
|
||||
"io.element.desktop": { "action": 4 },
|
||||
"element": { "action": 4 }
|
||||
},
|
||||
"isDownloadsImprovementsAlreadyMigrated": false
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,10 @@ user_pref("font.name.serif.x-western", "Times New Roman");
|
|||
user_pref("font.name.sans-serif.x-western", "SF Pro Display");
|
||||
user_pref("font.name.monospace.x-western", "Berkeley Mono");
|
||||
user_pref("font.name.serif.x-math", "STIX Two Math");
|
||||
user_pref("font.name-list.serif.x-math", "STIX Two Math, Latin Modern Math, Times New Roman");
|
||||
user_pref(
|
||||
"font.name-list.serif.x-math",
|
||||
"STIX Two Math, Latin Modern Math, Times New Roman",
|
||||
);
|
||||
user_pref("font.default.x-western", "sans-serif");
|
||||
|
||||
user_pref("browser.tabs.insertAfterCurrent", true);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue