Skip to content

Commit a89fbc8

Browse files
committed
docs: add readme for justfile/pr-checks update
1 parent 182c5e7 commit a89fbc8

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

pr-checks/readme.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# PR Checks
2+
3+
This folder contains the code supporting the workflows run when a PR is created.
4+
5+
## Update
6+
7+
If you need to make a change to any of the PR checks, you need to perform the following
8+
steps:
9+
10+
1. Make the change - the code for the PR checks is under the `pr-checks/checks/` folder.
11+
2. Run the `sync.py` file to produce (and sync) the final workflow files under `.github/`
12+
13+
The second part requires some associated steps (create a virtual environment, download
14+
the dependencies for the Python script, etc), so we have automated this with the `justfile`
15+
included in this folder.
16+
17+
### 1-step update
18+
19+
1. Install https://github.com/casey/just by whichever way you prefer.
20+
2. Run `$ just update-pr-checks` in your terminal.
21+
22+
If you don't wish to install `just`, you can also manually perform the steps
23+
outlined in the `justfile` under the `update-pr-checks` action.

0 commit comments

Comments
 (0)