Skip to content

Commit 28427e0

Browse files
authored
Refine README.md
1 parent 6058c01 commit 28427e0

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

README.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,58 @@
44
55
Currently executing JabRef's consistency check.
66

7+
## Example use
8+
9+
```yaml
10+
name: Check
11+
12+
on:
13+
pull_request:
14+
15+
jobs:
16+
test-action:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Run jabref-action
23+
uses: jabref/jabref-action@main
24+
with:
25+
bibfile: Chocolate.bib
26+
```
27+
28+
Output:
29+
30+
```markdown
31+
Field Presence Consistency Check Result
32+
33+
| entry type | citation key | Eprint | Groups | Number | Pages | Readstatus | URL |
34+
| ---------- | ------------ | ------ | ------ | ------ | ----- | ---------- | --- |
35+
| Article | Garcia_2018 | - | - | o | - | - | - |
36+
| Article | Ding_2006 | - | - | o | - | - | - |
37+
| Article | Richard_2017 | - | ? | - | - | ? | - |
38+
| Article | Corti_2009 | - | - | o | o | - | - |
39+
| Article | Cooper_2007 | - | - | o | o | - | - |
40+
| Article | Tokede_2011 | - | - | o | o | - | - |
41+
| Article | Keen_2001 | - | - | o | o | - | - |
42+
| Article | Katz_2011 | - | - | o | o | ? | - |
43+
| Article | Hooper_2012 | - | - | o | o | ? | - |
44+
| Article | Tan_2021 | - | - | o | o | ? | - |
45+
| Article | Fulton_1969 | o | - | o | o | - | o |
46+
| Article | Parker_2006 | - | ? | o | o | ? | - |
47+
| Article | Macht_2007 | - | ? | o | o | ? | - |
48+
| Article | Scholey_2013 | - | ? | o | o | ? | - |
49+
| Article | Di_Renzo_2012 | - | ? | o | o | ? | - |
50+
51+
x | required field is present
52+
o | optional field is present
53+
? | unknown field is present
54+
- | field is absent
55+
Consistency check completed
56+
```
57+
58+
759
## Development
860

961
This action uses JabRef's jabkit Dockerimage. Contribute to jabkit at [jabkit](https://github.com/JabRef/jabref/tree/main/jabkit).

0 commit comments

Comments
 (0)