File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change 26
26
git config --global user.email "[email protected] "
27
27
git config --global user.name "GitHub Action"
28
28
29
- # - name: Save issue JSON payload to file
30
- # run: echo '${{ toJson(github.event.issue) }}' > issue.json
31
- # pass it directly -- maybe fallback to this if an issue happened due to
32
- # pipe-ing or encoding
33
-
34
29
- name : Run Python script to generate guideline file
35
30
run : |
36
31
echo '${{ toJson(github.event.issue) }}' | uv run python scripts/auto-pr-helper.py --save
Original file line number Diff line number Diff line change @@ -62,13 +62,6 @@ def guideline_template(fields: dict) -> str:
62
62
This function turns a dictionary that contains the guideline fields
63
63
into a proper .rst guideline format
64
64
"""
65
-
66
-
67
- # generate random ids
68
- guideline_id = generate_id ("gui" )
69
- rationale_id = generate_id ("rat" )
70
- non_compliant_example_id = generate_id ("non_compl_ex" )
71
- compliant_example_id = generate_id ("compl_ex" )
72
65
73
66
def get (key ):
74
67
return fields .get (key , "" ).strip ()
You can’t perform that action at this time.
0 commit comments