We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 148a186 commit 9a0b054Copy full SHA for 9a0b054
.github/workflows/ci.yml
@@ -1,6 +1,9 @@
1
name: Zola
2
3
-on: [push, pull_request]
+on:
4
+ push:
5
+ branches: source
6
+ pull_request:
7
8
jobs:
9
zola:
@@ -18,6 +21,17 @@ jobs:
18
21
with:
19
22
args: '.'
20
23
config: '.markdownlint.json'
24
+ - name: Comment if lints failed
25
+ if: failure() && github.base_ref # base_ref is only set for PRs
26
+ uses: actions/github-script@v3
27
+ with:
28
+ script: |
29
+ github.issues.createComment({
30
+ owner: context.repo.owner,
31
+ repo: context.repo.repo,
32
+ issue_number: context.issue.number,
33
+ body: "It looks like the MarkdownLint checks for this PR have failed. Please take a look at the 'Checks' tab to see what needs changing."
34
+ });
35
- name: Install Zola
36
run: curl -L ${BASE_URL}/${VERS}/zola-${VERS}-${ARCH}.tar.gz | tar -xz
37
- run: ./zola --version
0 commit comments