Skip to content

Commit 01145ad

Browse files
authored
Disable threat-detection in all workflows (#3583)
Adds `threat-detection: { enabled: false }` under `safe-outputs:` in all 31 workflow `.md` files and recompiles lock files. This removes the `detection` job from all compiled workflows, reducing per-run overhead and billable minutes. **Changes:** - 31 `.md` files: added `threat-detection: enabled: false` - 31 `.lock.yml` files: recompiled (net ~5400 lines removed from detection jobs)
2 parents 206efea + a0916a9 commit 01145ad

File tree

64 files changed

+2339
-7764
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2339
-7764
lines changed

.github/aw/actions-lock.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
"version": "v8",
5656
"sha": "ed597411d8f924073f98dfc5c65a23a2325f34cd"
5757
},
58+
"actions/github-script@v9": {
59+
"repo": "actions/github-script",
60+
"version": "v9",
61+
"sha": "373c709c69115d41ff229c7e5df9f8788daa9553"
62+
},
5863
"actions/setup-dotnet@v5.2.0": {
5964
"repo": "actions/setup-dotnet",
6065
"version": "v5.2.0",
@@ -175,15 +180,15 @@
175180
"version": "v4.35.1",
176181
"sha": "0e9f55954318745b37b7933c693bc093f7336125"
177182
},
178-
"github/gh-aw-actions/setup-cli@v0.68.0": {
183+
"github/gh-aw-actions/setup-cli@v0.68.1": {
179184
"repo": "github/gh-aw-actions/setup-cli",
180-
"version": "v0.68.0",
181-
"sha": "0acfb4a691fe207cd8bc982ea5cb9d750d57a702"
185+
"version": "v0.68.1",
186+
"sha": "2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc"
182187
},
183-
"github/gh-aw-actions/setup@v0.68.0": {
188+
"github/gh-aw-actions/setup@v0.68.1": {
184189
"repo": "github/gh-aw-actions/setup",
185-
"version": "v0.68.0",
186-
"sha": "0acfb4a691fe207cd8bc982ea5cb9d750d57a702"
190+
"version": "v0.68.1",
191+
"sha": "2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc"
187192
},
188193
"github/gh-aw/actions/setup@v0.65.3": {
189194
"repo": "github/gh-aw/actions/setup",

.github/workflows/agentics-maintenance.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \
1313
# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
1414
#
15-
# This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.68.0). DO NOT EDIT.
15+
# This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.68.1). DO NOT EDIT.
1616
#
1717
# To regenerate this workflow, run:
1818
# gh aw compile
@@ -68,34 +68,34 @@ jobs:
6868
pull-requests: write
6969
steps:
7070
- name: Setup Scripts
71-
uses: github/gh-aw-actions/setup@0acfb4a691fe207cd8bc982ea5cb9d750d57a702 # v0.68.0
71+
uses: github/gh-aw-actions/setup@2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc # v0.68.1
7272
with:
7373
destination: ${{ runner.temp }}/gh-aw/actions
7474

7575
- name: Close expired discussions
76-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
76+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
7777
with:
7878
script: |
7979
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
80-
setupGlobals(core, github, context, exec, io);
80+
setupGlobals(core, github, context, exec, io, getOctokit);
8181
const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_discussions.cjs');
8282
await main();
8383
8484
- name: Close expired issues
85-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
85+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
8686
with:
8787
script: |
8888
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
89-
setupGlobals(core, github, context, exec, io);
89+
setupGlobals(core, github, context, exec, io, getOctokit);
9090
const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_issues.cjs');
9191
await main();
9292
9393
- name: Close expired pull requests
94-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
94+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
9595
with:
9696
script: |
9797
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
98-
setupGlobals(core, github, context, exec, io);
98+
setupGlobals(core, github, context, exec, io, getOctokit);
9999
const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_pull_requests.cjs');
100100
await main();
101101
@@ -113,27 +113,27 @@ jobs:
113113
persist-credentials: false
114114

115115
- name: Setup Scripts
116-
uses: github/gh-aw-actions/setup@0acfb4a691fe207cd8bc982ea5cb9d750d57a702 # v0.68.0
116+
uses: github/gh-aw-actions/setup@2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc # v0.68.1
117117
with:
118118
destination: ${{ runner.temp }}/gh-aw/actions
119119

120120
- name: Check admin/maintainer permissions
121-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
121+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
122122
with:
123123
github-token: ${{ secrets.GITHUB_TOKEN }}
124124
script: |
125125
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
126-
setupGlobals(core, github, context, exec, io);
126+
setupGlobals(core, github, context, exec, io, getOctokit);
127127
const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
128128
await main();
129129
130130
- name: Install gh-aw
131-
uses: github/gh-aw-actions/setup-cli@0acfb4a691fe207cd8bc982ea5cb9d750d57a702 # v0.68.0
131+
uses: github/gh-aw-actions/setup-cli@2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc # v0.68.1
132132
with:
133-
version: v0.68.0
133+
version: v0.68.1
134134

135135
- name: Run operation
136-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
136+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
137137
env:
138138
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
139139
GH_AW_OPERATION: ${{ github.event.inputs.operation }}
@@ -142,7 +142,7 @@ jobs:
142142
github-token: ${{ secrets.GITHUB_TOKEN }}
143143
script: |
144144
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
145-
setupGlobals(core, github, context, exec, io);
145+
setupGlobals(core, github, context, exec, io, getOctokit);
146146
const { main } = require('${{ runner.temp }}/gh-aw/actions/run_operation_update_upgrade.cjs');
147147
await main();
148148
@@ -164,30 +164,30 @@ jobs:
164164
persist-credentials: false
165165

166166
- name: Setup Scripts
167-
uses: github/gh-aw-actions/setup@0acfb4a691fe207cd8bc982ea5cb9d750d57a702 # v0.68.0
167+
uses: github/gh-aw-actions/setup@2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc # v0.68.1
168168
with:
169169
destination: ${{ runner.temp }}/gh-aw/actions
170170

171171
- name: Check admin/maintainer permissions
172-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
172+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
173173
with:
174174
github-token: ${{ secrets.GITHUB_TOKEN }}
175175
script: |
176176
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
177-
setupGlobals(core, github, context, exec, io);
177+
setupGlobals(core, github, context, exec, io, getOctokit);
178178
const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
179179
await main();
180180
181181
- name: Apply Safe Outputs
182-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
182+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
183183
env:
184184
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
185185
GH_AW_RUN_URL: ${{ github.event.inputs.run_url }}
186186
with:
187187
github-token: ${{ secrets.GITHUB_TOKEN }}
188188
script: |
189189
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
190-
setupGlobals(core, github, context, exec, io);
190+
setupGlobals(core, github, context, exec, io, getOctokit);
191191
const { main } = require('${{ runner.temp }}/gh-aw/actions/apply_safe_outputs_replay.cjs');
192192
await main();
193193
@@ -204,33 +204,33 @@ jobs:
204204
persist-credentials: false
205205

206206
- name: Setup Scripts
207-
uses: github/gh-aw-actions/setup@0acfb4a691fe207cd8bc982ea5cb9d750d57a702 # v0.68.0
207+
uses: github/gh-aw-actions/setup@2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc # v0.68.1
208208
with:
209209
destination: ${{ runner.temp }}/gh-aw/actions
210210

211211
- name: Check admin/maintainer permissions
212-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
212+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
213213
with:
214214
github-token: ${{ secrets.GITHUB_TOKEN }}
215215
script: |
216216
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
217-
setupGlobals(core, github, context, exec, io);
217+
setupGlobals(core, github, context, exec, io, getOctokit);
218218
const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
219219
await main();
220220
221221
- name: Install gh-aw
222-
uses: github/gh-aw-actions/setup-cli@0acfb4a691fe207cd8bc982ea5cb9d750d57a702 # v0.68.0
222+
uses: github/gh-aw-actions/setup-cli@2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc # v0.68.1
223223
with:
224-
version: v0.68.0
224+
version: v0.68.1
225225

226226
- name: Create missing labels
227-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
227+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
228228
env:
229229
GH_AW_CMD_PREFIX: gh aw
230230
with:
231231
github-token: ${{ secrets.GITHUB_TOKEN }}
232232
script: |
233233
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
234-
setupGlobals(core, github, context, exec, io);
234+
setupGlobals(core, github, context, exec, io, getOctokit);
235235
const { main } = require('${{ runner.temp }}/gh-aw/actions/create_labels.cjs');
236236
await main();

0 commit comments

Comments
 (0)