Skip to content

Commit 5b1c98b

Browse files
CopilotMossaka
andauthored
fix: switch security-guard workflow to claude engine (#438)
* Initial plan * fix: switch security-guard workflow to claude engine Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com> * docs: add solution documentation for security-guard fix Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
1 parent 8785c00 commit 5b1c98b

16 files changed

Lines changed: 1207 additions & 1384 deletions
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
#
2+
# ___ _ _
3+
# / _ \ | | (_)
4+
# | |_| | __ _ ___ _ __ | |_ _ ___
5+
# | _ |/ _` |/ _ \ '_ \| __| |/ __|
6+
# | | | | (_| | __/ | | | |_| | (__
7+
# \_| |_/\__, |\___|_| |_|\__|_|\___|
8+
# __/ |
9+
# _ _ |___/
10+
# | | | | / _| |
11+
# | | | | ___ _ __ _ __| |_| | _____ ____
12+
# | |/\| |/ _ \ '__| |/ /| _| |/ _ \ \ /\ / / ___|
13+
# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \
14+
# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
15+
#
16+
# This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.37.26). DO NOT EDIT.
17+
#
18+
# To regenerate this workflow, run:
19+
# gh aw compile
20+
# For more information: https://github.com/githubnext/gh-aw/blob/main/.github/aw/github-agentic-workflows.md
21+
#
22+
# Alternative regeneration methods:
23+
# make recompile
24+
#
25+
# Or use the gh-aw CLI directly:
26+
# ./gh-aw compile --validate --verbose
27+
#
28+
# The workflow is generated when any workflow uses the 'expires' field
29+
# in create-discussions or create-issues safe-outputs configuration.
30+
# Schedule frequency is automatically determined by the shortest expiration time.
31+
#
32+
name: Agentic Maintenance
33+
34+
on:
35+
schedule:
36+
- cron: "37 */6 * * *" # Every 6 hours (based on minimum expires: 2 days)
37+
workflow_dispatch:
38+
39+
permissions: {}
40+
41+
jobs:
42+
close-expired-entities:
43+
runs-on: ubuntu-slim
44+
permissions:
45+
discussions: write
46+
issues: write
47+
steps:
48+
- name: Setup Scripts
49+
uses: githubnext/gh-aw/actions/setup@v0.37.26
50+
with:
51+
destination: /opt/gh-aw/actions
52+
53+
- name: Close expired discussions
54+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
55+
with:
56+
script: |
57+
const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs');
58+
setupGlobals(core, github, context, exec, io);
59+
const { main } = require('/opt/gh-aw/actions/close_expired_discussions.cjs');
60+
await main();
61+
62+
- name: Close expired issues
63+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
64+
with:
65+
script: |
66+
const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs');
67+
setupGlobals(core, github, context, exec, io);
68+
const { main } = require('/opt/gh-aw/actions/close_expired_issues.cjs');
69+
await main();

.github/workflows/ci-cd-gaps-assessment.lock.yml

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

.github/workflows/ci-doctor.lock.yml

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

.github/workflows/dependency-security-monitor.lock.yml

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

.github/workflows/doc-maintainer.lock.yml

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

.github/workflows/issue-duplication-detector.lock.yml

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

.github/workflows/issue-monster.lock.yml

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

.github/workflows/pelis-agent-factory-advisor.lock.yml

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

.github/workflows/plan.lock.yml

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

.github/workflows/security-guard.lock.yml

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

0 commit comments

Comments
 (0)