π© Make the relation of task list more visible
π README is available in [English] [ζ₯ζ¬θͺ]
This action is still WIP, so there might be nasty bugs.
Currently, the action is available on v0.*.*
. Bug reports are more than welcome!
This action detects the change in the task list and adds the parent issue number to the title and description of issues in the list.
- οΈποΈ You can see what the issue belongs to in the issue list at a glance.
- οΈποΈ A tiny tracking issue list is created at the bottom of the body.
- οΈποΈ It can display tags even the issue is tracked by multiple issues.
-
Number tag (The red one)
The tracker issue's number. The tag is added to the head of the issue's title. The emoji can be configured. -
Title tag (The green one)
The tracker issue's title. If the tracked issue is tracked by multiple issues, the most recent issue that started tracking is shown. -
Annotation text (The purple one)
The tracker issue's number. (The same information with the number tag) The text is appended to the body.
recorded.mp4
on:
issues:
types:
- opened
- edited
permissions:
issues: write
jobs:
update-issue:
runs-on: ubuntu-latest
steps:
- uses: loxygenK/better-tracking-issue@v0.1.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
I highly recommend using one of the following to select the workflow version since this is still v0:
- Specify the tag in the full name of the tag. ( β
v0
/ βv0.1.0
) - Specify the full commit hash. ( β
built-result
/ β01234567...89abcdef
)
Avoid these for most cases!
-
οΈοΈβ Using the
latest
tag directly.
Since there will be breaking changes in API and behavior, using thelatest
tag is very risky! -
οΈοΈβ **Using the tags that start with
intl-dev-
**
These tags are meant to be used only for the development of this workflow. These tags most likely contain bugs, so using these is very risky too!
A token to access issues. Set permission.issues: write
to use GITHUB_TOKEN
!
Set the prefix used in the tag prepended to the issue title to display tracking issues' number.
π©
is set in default.
Set the prefix used in the tag appended to the issue title to display tracking issues' title.
π©
is set in default.
Specify how to select the issue to be displayed in the title tag. (Currently only one issue can be displayed to the title tag.)
Try using this if you felt that the behavior of title tags is unnatural when the issue is tracked by multiple issues.
Default? | Value | When a tracking issue is added | Wnen a tracking issue is removed |
---|---|---|---|
fixed-lowest |
The issue with the lowest number (ID) | The issue with the lowest number | |
fixed-highest |
The issue with the highest number | The issue with the highest number | |
βοΈ | latest-lowest |
The newly added issue | The issue with the lowest number |
latest-highest |
The newly added issue | The issue with the highest number |
Note I am planning to add a method to directly specify the issue to display using the issue's number.
Note Currently, changing the settings does not break existing issues.
Warning This action is still v0, so there might be breaking changes! Even in this case, I will do my best to be able to migrate the existing issue.
-
Number tag (The red one)
The tracker issue's number. The tag is added to the head of the issue's title. The emoji can be configured. -
Title tag (The green one)
The tracker issue's title. If the tracked issue is tracked by multiple issues, the most recent issue that started tracking is shown. -
Annotation text (The purple one)
The tracker issue's number. (The same information with the number tag) The text is appended to the body.
- Deal with the configuration change
- I decided to restrict the configuration instead. (At first, I thought I could log the commit hash of the setting (GitHub Action config file), but I thought that was too much effort⦠Maybe I will do this and be able to do a more flexible configuration in the far future)
- Add tracking issue's title to the tracked issues (
v0.1.0
here possibly) - Make annotation text in the body configurable