Skip to content

Commit 726b975

Browse files
authored
Merge pull request #2 from 1Cor125/config_and_docs_chores
Configuration and documentation chores
2 parents 002bcc8 + 31b7ef9 commit 726b975

9 files changed

Lines changed: 5470 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
steps:
1717
- name: Checkout repository
1818
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
1921

2022
- name: Setup Node.js
2123
uses: actions/setup-node@v4
@@ -40,6 +42,9 @@ jobs:
4042

4143
- name: Run standards checks
4244
run: npm run standards
45+
env:
46+
# For PRs: lint from base branch. For pushes: lint from previous commit
47+
COMMITLINT_FROM: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
4348

4449
- name: Run cargo check
4550
run: cargo check --workspace --all-targets

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Rust
22
/target/
3-
Cargo.lock
43

54
# Node
65
node_modules/

.markdownlint-cli2.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ module.exports = {
1111
...sharedStandards.ignores,
1212
'**/dist-js',
1313
'**/permissions/autogenerated',
14+
'**/target',
1415
],
1516
};

0 commit comments

Comments
 (0)