Commit f0dac94
Fix actionlint config path resolution after cd into REPO_ROOT
After `cd "$REPO_ROOT"`, the config file checks still referenced
`$REPO_ROOT/.github/actionlint.yml`, creating a double-nested path
(e.g., FuzzyBot/FuzzyBot/.github/actionlint.yml) that never exists.
This caused the script to always fall back to the GitHub-Actions
default config, silently ignoring repo-local actionlint configs.
Use paths relative to cwd (which is already inside the repo after
the cd) instead of prefixing with $REPO_ROOT.
Co-authored-by: Justin Persaud <justinpersaud@users.noreply.github.com>1 parent bf386c4 commit f0dac94
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
124 | 125 | | |
125 | | - | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| |||
0 commit comments