Skip to content

Commit 41cb227

Browse files
henrymercerCopilot
andcommitted
fixup! Keep runner images up to date with a weekly agentic workflow
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 6d102e0 commit 41cb227

2 files changed

Lines changed: 15 additions & 6 deletions

File tree

‎.github/workflows/update-runner-images.lock.yml‎

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/workflows/update-runner-images.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@ safe-outputs:
6868
# Stops gh-aw commenting on its `[aw] No-Op Runs` issue for each run that calls `noop`, which
6969
# most runs do.
7070
report-as-issue: false
71+
threat-detection:
72+
prompt: >-
73+
The branch for the agent's pull request is pushed with a token that can change workflows, and
74+
workflows that run on that push don't wait for a maintainer to approve them. Report a malicious
75+
patch if it adds a workflow or changes when an existing workflow runs, for example by changing
76+
the events in its `on` section. Changing which runner images workflows use is expected.
77+
# Stops gh-aw pushing the branch if it detects a threat or detection fails. By default, it pushes
78+
# the branch and opens the pull request with a warning.
79+
continue-on-error: false
7180
jobs:
7281
safe_outputs:
7382
pre-steps:

0 commit comments

Comments
 (0)