Skip to content

Commit d2d5f53

Browse files
committed
Address review comments and remove unused code
1 parent 81795ff commit d2d5f53

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

.github/workflows/auto-pr-on-issue.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ jobs:
2626
git config --global user.email "[email protected]"
2727
git config --global user.name "GitHub Action"
2828
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-
3429
- name: Run Python script to generate guideline file
3530
run: |
3631
echo '${{ toJson(github.event.issue) }}' | uv run python scripts/auto-pr-helper.py --save

scripts/auto-pr-helper.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,6 @@ def guideline_template(fields: dict) -> str:
6262
This function turns a dictionary that contains the guideline fields
6363
into a proper .rst guideline format
6464
"""
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")
7265

7366
def get(key):
7467
return fields.get(key, "").strip()

0 commit comments

Comments
 (0)