0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-21 17:36:59 -05:00

user: actions: automatic tokens do not trigger workflows

This commit is contained in:
Earl Warren 2023-12-09 23:44:07 +01:00 committed by Loïc Dachary
parent bc5268061f
commit 0ab4028535

View file

@ -58,6 +58,11 @@ This token also has write permission to the repository and can be used
to push commits or use API endpoints such as creating a label or merge
a pull request.
In order to avoid infinite recursion, no `workflow` will be triggered
as a side effect of a change authored with this token. For instance,
if a branch is pushed to the repository and there exists a workflow that
is triggered on push events, it will not fire.
A `workflow` triggered by a `pull_request` event is an exception: in
that case the token does not have write permissions to the repository.
The pull request could contain an untested or malicious workflow.