1
0
mirror of synced 2026-01-26 03:06:48 -05:00

Update workflow-commands-for-github-actions.md

This commit is contained in:
Martin Lopes
2021-09-10 08:40:58 +10:00
parent 463eee41ce
commit f65d9ee714

View File

@@ -210,14 +210,14 @@ echo "::add-mask::$MY_NAME"
Stops processing any workflow commands. This special command allows you to log anything without accidentally running a workflow command. For example, you could stop logging to output an entire script that has comments.
To stop the processing of workflow commands, pass a unique token to `stop-commands`. To resume processing workflow commands, pass the same token that you used to stop workflow commands.
{% warning %}
**Warning:** Make sure the token you're using is randomly generated and unique for each run. As demonstrated in the example below, you can generate a unique hash of your `github.token` for each run.
{% endwarning %}
To start workflow commands, pass the token that you used to stop workflow commands.
`::{endtoken}::`
### Example stopping and starting workflow commands