Commit Graph

550 Commits

Author SHA1 Message Date
alstr
d7086a5471 Update CI workflow 2025-04-10 15:52:28 +01:00
alstr
3e1aeb955e Update CI workflow 2025-04-10 15:42:18 +01:00
alstr
388fc5a99e Update CI workflow 2025-04-10 15:35:36 +01:00
alstr
97af4971f9 Update CI workflow 2025-04-10 15:27:32 +01:00
alstr
cf5f5d2b95 Encode URLs
Fixes #263
2025-04-10 15:11:54 +01:00
alstr
eded387171 Amend file path to fix test 2025-04-10 15:01:48 +01:00
alstr
1a726726ab Add Dockerfile support
Original PR by @phyzical
See #266
2025-04-10 14:53:23 +01:00
alstr
3c434ec5a9 Fix environment variable name 2025-04-10 14:35:31 +01:00
alstr
93316d152d Disable process diff test 2025-04-10 10:26:57 +01:00
alstr
092fdad950 Update Docker image version 2025-04-04 09:58:17 +01:00
alstr
92354c3f86 Merge remote-tracking branch 'origin/master' 2025-04-04 09:44:12 +01:00
alstr
9a95d62451 Improve handling of block comments
Fixes #264
2025-04-04 09:43:44 +01:00
Alastair Mooney
c077cbe999
Update README.md 2025-04-02 14:56:05 +01:00
alstr
0672dc170b Revert "Merge pull request #260 from schott12521/schott12521/main"
This reverts commit b46ff98258, reversing
changes made to 751dd2f2ad.
2025-01-31 10:31:50 +00:00
Alastair Mooney
b46ff98258
Merge pull request #260 from schott12521/schott12521/main
feat: adding default labels to issues
2025-01-30 17:25:07 +00:00
Alastair Mooney
5774c0c0bb
Update action.yml 2025-01-30 17:23:14 +00:00
Alastair Mooney
9cadabeca9
Update README.md 2025-01-30 17:22:29 +00:00
Scott
c7789e046e feat: adding default labels to issues 2025-01-28 12:48:45 -08:00
Alastair Mooney
751dd2f2ad
Merge pull request #259 from steebchen/patch-1
docs(readme): add action token permissions
2025-01-22 16:15:11 +00:00
Luca Steeb
d912fe8085
docs(readme): add action token permissions
This automatically sets the correct permissions in the workflow definition so that the user doesn't have to change the default workflow permissions in the repo settings.
2025-01-18 13:02:14 +04:00
Alastair Mooney
c5294a65e6
Merge pull request #255 from netpoe/syntax/move
feat(syntax.json): Move language .move
2025-01-02 15:26:31 +00:00
Alastair Mooney
4417cd5ad9
Update test_new.diff 2025-01-02 15:23:03 +00:00
Alastair Mooney
3ba6066771
Update test_closed.diff 2025-01-02 15:22:40 +00:00
netpoe
c13ebee3c5 fix(test_todo_parser): tests for 'text', removes 'move' 2024-12-28 00:05:25 -06:00
netpoe
7cfb7c0bb3 chore: updates README with Move lang 2024-12-21 22:02:06 -06:00
netpoe
ef064d7382 test: test_closed.diff test_new.diff 2024-12-21 22:00:42 -06:00
netpoe
de37f375ca feat(syntax.json): Move language .move
As defined in https://raw.githubusercontent.com/github/linguist/master/lib/linguist/languages.yml
2024-12-21 21:32:30 -06:00
Alastair Mooney
973393389c
Update action.yml 2024-12-16 19:21:01 +00:00
Alastair Mooney
8e25063c43
Merge pull request #254 from antoniogonzalezsuarez/feature/fix_f_string_diff_url
Add {} to fix f-string
2024-12-16 19:17:01 +00:00
antoniogonzalezsuarez
ad1d917043 Add {} to fix f-string 2024-12-16 18:42:20 +00:00
Alastair Mooney
c9ead1ec75
Update action.yml 2024-12-12 16:03:31 +00:00
alstr
84220a48d7 Add diff fallback URL 2024-12-12 16:01:19 +00:00
Alastair Mooney
b64689f916
Update README.md 2024-12-12 15:47:16 +00:00
Alastair Mooney
b5815c5c57
Update README.md
Add note about workflow triggers
2024-12-12 15:39:08 +00:00
Alastair Mooney
770db899ed
Update action.yml 2024-12-12 15:36:13 +00:00
alstr
454715719f Fix diff URL for PRs
Fixes #231
2024-12-12 15:14:28 +00:00
Alastair Mooney
f357c404fe
Update action.yml 2024-12-06 18:31:00 +00:00
alstr
b436b792bc Fix quote marks 2024-12-06 18:29:28 +00:00
Alastair Mooney
5d45b75ef4
Update action.yml 2024-12-06 18:25:48 +00:00
alstr
edf5d49a3c Improve diff error message 2024-12-06 18:22:26 +00:00
Alastair Mooney
3ac81cb165
Update action.yml 2024-11-26 15:25:55 +00:00
alstr
7b4aab7105 Add User-Agent header
Fixes #248
2024-11-22 15:02:37 +00:00
Alastair Mooney
6cf1955119
Merge pull request #246 from rgalonso/fix/handle-different-line-endings
fix: handle different line endings
2024-11-22 09:26:33 +00:00
Robert Alonso
6f69995374 fix: handle presence of tab characters on TODO line
Ensure alignment of issue URL line is correct even
when the TODO line had any number of tab
characters prior to the issue title

Addresses remaining sub-issues of and
closes GitHub issue #245
2024-11-15 15:07:42 +00:00
Robert Alonso
ad4d65c8b8 fix: handle CRLF and mixed line-ending files
Regardless of the OS on which the app is running,
respect the original line endings of the file
when writing back the issue URL. In the case of
a mixed line-ending file (e.g. both Windows-style
CRLF and Unix-style LF), the issue URL comment
line will use the line ending style of the TODO
comment line above it.

Partially addresses GitHub issue #245
2024-11-15 15:07:42 +00:00
Robert Alonso
c10ca453d9 fix: handle issue title line with trailing whitespace
Fix a regression that was accidentally introduced
with v5.1.2 which could cause an issue URL to not
be successfully added to the source file when
dealing with a CRLF (Windows-style line endings)
file on Linux.

Partially addresses GitHub issue #245
2024-11-15 15:07:35 +00:00
Alastair Mooney
5157ba918f
Merge pull request #243 from rgalonso/fix/regex-characters-in-identifier
fix: handle identifier with regex characters
2024-11-12 19:13:01 +00:00
Robert Alonso
2d98b5c359 fix: handle identifier with regex characters
Provides a test for and the solution to GitHub
issue #242. Namely, an identifier which contains
regex characters (e.g. "[TODO]") is properly
handled by having the parser look for literal
"[" and "]" characters rather than treating those
characters as part of a regex pattern. The word
boundary regex pattern '\b' does NOT properly
handle this, so a slightly different pattern is
used to identify the boundary.
2024-11-12 16:34:09 +00:00
Alastair Mooney
59c6b5395c
Merge pull request #241 from rgalonso/fix/handle-todo-comment-suffix
fix: don't include source with issue URL comment
2024-11-12 15:46:38 +00:00
Robert Alonso
948c3e0507 fix: don't include source with issue URL comment
If TODO comment is a suffix to a line of
(executable) source, don't repeat the source
content when inserting the issue URL. But be sure
to still keep the same alignment.

Closes #229
2024-11-12 14:28:40 +00:00