Commit e86c9cd
authored
Provide repository info to
This fixes the following error in the GitHub action:
```
failed to run git: fatal: not a git repository (or any of the parent directories): .git
```
https://github.com/stylelint/stylelint/actions/runs/7609612527/job/20721207993#step:2:19
The failure reason is that the `gh` command tries reading the `.git` repository.
This change provides the repository info through an environment variable supported by `gh`.
(see also https://cli.github.com/manual/gh_help_environment)gh command in GitHub action (#7491)1 parent 0073ab6 commit e86c9cd
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
0 commit comments