-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitlab-ci.yml
More file actions
18 lines (16 loc) 路 474 Bytes
/
Copy pathgitlab-ci.yml
File metadata and controls
18 lines (16 loc) 路 474 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Sampled from https://gitlab.wikimedia.org/toolforge-repos/wiki-gpt/-/blob/main/.gitlab-ci.yml
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
stages:
- build-commit
build:
stage: build-commit
before_script:
- apt-get update -q -y && apt-get install -y git python3-pip
script:
- pip3 install pre-commit
- pre-commit run --all-files
artifacts:
untracked: true
# File version: 1 (2023, Wednesday, May 3rd at 6:04 pm PST)