-
Notifications
You must be signed in to change notification settings - Fork 3
48 lines (40 loc) · 1.02 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# qutselect Continious Integration Check Workflow
# yamllint disable rule:truthy
---
name: CI Build
on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
# default read-only permission
permissions:
contents: read
jobs:
skip_check:
name: Duplicate Check
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.check.outputs.should_skip }}
steps:
- id: check
uses: fkirc/[email protected]
with:
skip_after_successful_duplicate: 'true'
concurrent_skipping: 'same_content_newer'
linter:
name: Linter Checks
needs: skip_check
if: ${{ needs.skip_check.outputs.should_skip != 'true' }}
runs-on: ubuntu-22.04
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Check shell scripts
uses: ludeeus/[email protected]
- name: Check yaml files
uses: frenck/[email protected]
- name: Check markdown files
uses: avto-dev/markdown-lint@v1