Skip to content

Commit f1b2e16

Browse files
committed
[ci] combine workflows, add precommit run
1 parent e4de3ad commit f1b2e16

File tree

2 files changed

+12
-20
lines changed

2 files changed

+12
-20
lines changed

.github/workflows/autosquash_check.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
1-
# homepage: https://github.com/gaurav-nelson/github-action-markdown-link-check
2-
name: Check Markdown links
3-
41
on: [pull_request]
52

3+
name: Checks
4+
65
jobs:
7-
markdown-link-check:
6+
git:
7+
name: Block Autosquash Commits
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Block Autosquash Commits
11+
uses: xt0rted/block-autosquash-commits-action@v2
12+
with:
13+
repo-token: ${{ secrets.GITHUB_TOKEN }}
14+
source:
815
runs-on: ubuntu-latest
916
steps:
1017
- uses: actions/checkout@v2
1118
- name: markdown-link-check
1219
uses: gaurav-nelson/[email protected]
13-
1420
with:
1521
use-verbose-mode: 'yes'
1622
check-modified-files-only: 'yes'
1723
base-branch: 'main'
24+
- uses: pre-commit/[email protected]

0 commit comments

Comments
 (0)