Skip to content

Commit db947fd

Browse files
committed
WIP
1 parent bd3dd50 commit db947fd

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/todos-extract-from-code.yml

+15-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpull_requestpull_request_targetbranchesbranches-ignore
66
branches:
77
- master
8+
# XXX: remove
9+
- gh1595_extract_todos
810
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-excluding-paths
911
paths-ignore:
1012
- '**.json'
@@ -24,6 +26,17 @@ defaults:
2426
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
2527
shell: bash
2628

29+
# XXX: correct commit message (add a link to the issue)
30+
# XXX: decision: put a workaround for pdd/wiremock back
31+
# XXX: decision record: pdd-xml-to-json.sh as pdd doesn't support JSON output (+link to the issue)
32+
# XXX: modify comment to avoid having */ in the title (pdd workaround: gh225)
33+
# XXX: Q: how pdd extracts <author> and why it flipping between @php-coder to Slava Semushin?
34+
# XXX: gh issue create --repo php-coder/mystamps --label techdebt --title '' --body ''
35+
# XXX: workaround: 2 search queries because github doesn't support OR
36+
# XXX: workaround: possible collisions because GitHub doesn't support exatch match
37+
# XXX: pdd: workaround for trailing -->
38+
# XXX: pdd: workaround for trailing */
39+
# XXX: perhaps, we should exclude <lines> from file or from comparison to not modify the file frequently
2740
jobs:
2841
extract-pdd-puzzles:
2942
name: Extract todos from code
@@ -41,8 +54,8 @@ jobs:
4154

4255
- name: Checkout existing todos to another directory
4356
run: |
44-
git fetch --depth=1 origin generated-todos
45-
git worktree add generated-todos generated-todos
57+
git fetch --depth=1 origin generated-todos-test
58+
git worktree add generated-todos generated-todos-test
4659
4760
- name: Extract todos
4861
run: |

0 commit comments

Comments
 (0)