@@ -50,8 +50,8 @@ safe-outputs:
5050 # only uses `head-github-token` when `head-repo` is set.
5151 head-repo : github/codeql-action
5252 head-github-token : ${{ steps.push-token.outputs.token }}
53- # Workflows that run on pushes don't wait for approval. The prefix stops the agent choosing a
54- # branch name that matches their triggers, such as `releases/*`.
53+ # Workflows that run on pushes don't wait for approval. The prefix stops the branch's name
54+ # matching their triggers, such as `releases/*`.
5555 branch-prefix : runner-images/
5656 # Code owners aren't requested to review draft pull requests.
5757 draft : true
@@ -76,10 +76,11 @@ safe-outputs:
7676 prompt : >-
7777 The branch for the agent's pull request is pushed with a token that can change workflows, and
7878 workflows that run on that push don't wait for a maintainer to approve them. Report a malicious
79- patch if it adds a workflow or changes when an existing workflow runs, for example by changing
80- the events in its `on` section. Changing which runner images workflows use is expected.
81- # Stops gh-aw pushing the branch if it detects a threat or detection fails. By default, it pushes
82- # the branch and opens the pull request with a warning.
79+ patch if it adds a workflow or changes the `on` section of an existing workflow, which sets the
80+ events that trigger it. Changing which runner images workflows use is expected.
81+ # If gh-aw detects a threat or detection fails, fail the run without applying any safe outputs,
82+ # such as pushing the branch. By default, gh-aw still pushes the branch and opens the pull
83+ # request, with a warning.
8384 continue-on-error : false
8485 report-as-issue : false
8586jobs :
0 commit comments