0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-12-22 22:17:10 -05:00

user: actions: explain errors tooltip

This commit is contained in:
Earl Warren 2023-10-07 18:01:01 +02:00
parent 142d8a03d1
commit 8bd50bb4ef
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 13 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View file

@ -507,7 +507,19 @@ For remote actions that are implemented with a `Dockerfile` instead of `action.y
[Check out the example](https://code.forgejo.org/actions/setup-forgejo/src/branch/main/testdata/example-docker-action/.forgejo/workflows/test.yml)
## Debugging workflows with forgejo-runner exec
## Debugging workflows
### Errors in the YAML file
When the YAML file describing the workflow contains an error that can
be detected with static analysis, it is signaled by a warning sign in
the actions task list of the repository, next to the file name that
contains the workflow. Hovering on the file name will show a tooltip
with a detailed error message.
![actions results](../_images/user/actions/actions-syntax-error.png)
### With forgejo-runner exec
To get a quicker debug loop when working on a workflow, it may be more
convenient to run them on your laptop using `forgejo-runner exec`. For