77684dae88
docs(README): add example image and text
...
This should help illustrate its use.
2024-12-20 11:26:50 +01:00
983bec568c
feat(comment): add some context on how to read the data
...
This should help them out to reduce the size.
Also rectify misunderstanding about NAR Size.
2024-12-19 23:53:24 +01:00
ea9ec51d18
fix(compare): logic was wrong
...
We did $old - $new instead of $new - $old so positive changes where good
and negative where bad T-T
2024-12-19 23:37:38 +01:00
cd38cd76fd
fix(sh): ${VAR:-val} and ${VAR-val} are different
...
Who would've thought?
`:` means or empty, so:
```sh
VAR=
echo "${VAR-default}" # prints 'default'
VAR=''
echo "${VAR-default}" # prints ''
VAR=''
echo "${VAR:-default}" # prints 'default'
```
;-; nothing wants to work
2024-12-19 23:15:22 +01:00
b0b4030759
fix(action): typo
...
Should be working now ;-;
2024-12-19 23:07:46 +01:00
39f58ee538
refactor!(action): detect when in private branches
...
This removes the need to use the private-repo-workaround input.
2024-12-19 22:43:51 +01:00
bff5365c60
fix(action): re-enable extra logs
...
Some logs where hidden, we can now put them into groups instead (and
figure out why this is failing T-T.
2024-12-18 23:40:22 +01:00
fd5476dc11
fix(action): print old-report.json or debugging purposes
...
It has an issue?
2024-12-18 22:36:10 +01:00
72a3513f46
refactor(action): separate retrieving the old report
...
This makes the code easier to read
2024-12-18 22:25:34 +01:00
09d8ea071d
fix(action): unpack outside git repo
...
Otherwise it thinks it is the original flake
2024-12-18 22:05:27 +01:00
20b96580ba
fix(action): workaround for private repos
...
Download repo tarball instead of trying to use git switch to the proper
branch.
2024-12-18 21:46:13 +01:00
1db9349c00
feat(action): add workaround for private repos
...
This is a slow, but foolproof way to ensure a comparison report is
generated.
2024-12-18 21:15:52 +01:00
c3362d4650
fix(action): small typos and weird stuff
...
Why is it not downloading the previous report?
2024-12-18 16:20:41 +01:00
08d9598c26
fix(action): better logging
...
Be more clear about why it failed
2024-12-18 16:06:58 +01:00
7cc7a6f6f4
fix(action): artifact is gzip compressed
...
This is not reported to cURL however T-T
2024-12-18 14:51:51 +01:00
34d976f6c5
fix(action): invalid quoting of JSON
...
Pass arguments as `--arg name value` instead of trying to interpolate
the string. Why did I forget to do this? T-T
2024-12-18 14:35:01 +01:00
89fd1ffa71
feat: compare against a previous report
...
Only the downloading logic was added, the comparison logic was added in
the previous commit.
2024-12-18 10:51:59 +01:00
46291fc850
feat!(report): generate JSON instead of markdown
...
This allows us to analyze the report more easily. There is experimental
support for comparing against a base report, but we don't expose that
functionality to the action.
2024-12-17 23:17:48 +01:00
3c231dbfef
fix(action): use token when fetching prs
...
Failing to do so causes it to fail when running in a private repo.
2024-12-15 21:26:59 +01:00
e0d48ae08a
fix(create-report): do not error if an output is missing
...
Handle it with grace c:
2024-12-15 21:05:24 +01:00
6e8072a14d
fix(action): conditions where always true
...
Why tho T-T
2024-12-15 20:50:12 +01:00
02a57089f5
fix(action): typo
...
Its inputs not input T-T, why is this so annoying.
2024-12-15 20:47:16 +01:00
0a4023cf72
fix(action): use GITHUB_ACTION_PATH
...
Files are not relative T-T
2024-12-15 20:41:52 +01:00
abb495c57a
feat: create action
...
Hopefully it works?
2024-12-15 20:32:32 +01:00