Skip to content

Commit 1236e55

Browse files
committed
Bump agentic workflows to 0.67.0
1 parent a2e2b93 commit 1236e55

3 files changed

Lines changed: 356 additions & 209 deletions

File tree

.github/aw/actions-lock.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,21 @@
55
"version": "v8",
66
"sha": "ed597411d8f924073f98dfc5c65a23a2325f34cd"
77
},
8+
"github/gh-aw-actions/setup-cli@v0.67.0": {
9+
"repo": "github/gh-aw-actions/setup-cli",
10+
"version": "v0.67.0",
11+
"sha": "cde65c546c2b0f6d3f3a9492a04e6687887c4fe8"
12+
},
813
"github/gh-aw-actions/setup@v0.63.1": {
914
"repo": "github/gh-aw-actions/setup",
1015
"version": "v0.63.1",
1116
"sha": "53e09ec0be6271e81a69f51ef93f37212c8834b0"
1217
},
18+
"github/gh-aw-actions/setup@v0.67.0": {
19+
"repo": "github/gh-aw-actions/setup",
20+
"version": "v0.67.0",
21+
"sha": "cde65c546c2b0f6d3f3a9492a04e6687887c4fe8"
22+
},
1323
"github/gh-aw/actions/setup@v0.44.0": {
1424
"repo": "github/gh-aw/actions/setup",
1525
"version": "v0.44.0",

.github/workflows/agentics-maintenance.yml

Lines changed: 102 additions & 6 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.63.1). DO NOT EDIT.
15+
# This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.67.0). DO NOT EDIT.
1616
#
1717
# To regenerate this workflow, run:
1818
# gh aw compile
@@ -48,6 +48,13 @@ on:
4848
- 'enable'
4949
- 'update'
5050
- 'upgrade'
51+
- 'safe_outputs'
52+
- 'create_labels'
53+
run_url:
54+
description: 'Run URL or run ID to replay safe outputs from (e.g. https://github.com/owner/repo/actions/runs/12345 or 12345). Required when operation is safe_outputs.'
55+
required: false
56+
type: string
57+
default: ''
5158

5259
permissions: {}
5360

@@ -61,7 +68,7 @@ jobs:
6168
pull-requests: write
6269
steps:
6370
- name: Setup Scripts
64-
uses: github/gh-aw-actions/setup@53e09ec0be6271e81a69f51ef93f37212c8834b0 # v0.63.1
71+
uses: github/gh-aw-actions/setup@cde65c546c2b0f6d3f3a9492a04e6687887c4fe8 # v0.67.0
6572
with:
6673
destination: ${{ runner.temp }}/gh-aw/actions
6774

@@ -93,7 +100,7 @@ jobs:
93100
await main();
94101
95102
run_operation:
96-
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.operation != '' && !github.event.repository.fork }}
103+
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.operation != '' && github.event.inputs.operation != 'safe_outputs' && github.event.inputs.operation != 'create_labels' && !github.event.repository.fork }}
97104
runs-on: ubuntu-slim
98105
permissions:
99106
actions: write
@@ -106,7 +113,7 @@ jobs:
106113
persist-credentials: false
107114

108115
- name: Setup Scripts
109-
uses: github/gh-aw-actions/setup@53e09ec0be6271e81a69f51ef93f37212c8834b0 # v0.63.1
116+
uses: github/gh-aw-actions/setup@cde65c546c2b0f6d3f3a9492a04e6687887c4fe8 # v0.67.0
110117
with:
111118
destination: ${{ runner.temp }}/gh-aw/actions
112119

@@ -121,9 +128,9 @@ jobs:
121128
await main();
122129
123130
- name: Install gh-aw
124-
uses: github/gh-aw-actions/setup-cli@v0.63.1
131+
uses: github/gh-aw-actions/setup-cli@cde65c546c2b0f6d3f3a9492a04e6687887c4fe8 # v0.67.0
125132
with:
126-
version: v0.63.1
133+
version: v0.67.0
127134

128135
- name: Run operation
129136
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
@@ -138,3 +145,92 @@ jobs:
138145
setupGlobals(core, github, context, exec, io);
139146
const { main } = require('${{ runner.temp }}/gh-aw/actions/run_operation_update_upgrade.cjs');
140147
await main();
148+
149+
apply_safe_outputs:
150+
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.operation == 'safe_outputs' && !github.event.repository.fork }}
151+
runs-on: ubuntu-slim
152+
permissions:
153+
actions: read
154+
contents: write
155+
discussions: write
156+
issues: write
157+
pull-requests: write
158+
steps:
159+
- name: Checkout actions folder
160+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
161+
with:
162+
sparse-checkout: |
163+
actions
164+
persist-credentials: false
165+
166+
- name: Setup Scripts
167+
uses: github/gh-aw-actions/setup@cde65c546c2b0f6d3f3a9492a04e6687887c4fe8 # v0.67.0
168+
with:
169+
destination: ${{ runner.temp }}/gh-aw/actions
170+
171+
- name: Check admin/maintainer permissions
172+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
173+
with:
174+
github-token: ${{ secrets.GITHUB_TOKEN }}
175+
script: |
176+
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
177+
setupGlobals(core, github, context, exec, io);
178+
const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
179+
await main();
180+
181+
- name: Apply Safe Outputs
182+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
183+
env:
184+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
185+
GH_AW_RUN_URL: ${{ github.event.inputs.run_url }}
186+
with:
187+
github-token: ${{ secrets.GITHUB_TOKEN }}
188+
script: |
189+
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
190+
setupGlobals(core, github, context, exec, io);
191+
const { main } = require('${{ runner.temp }}/gh-aw/actions/apply_safe_outputs_replay.cjs');
192+
await main();
193+
194+
create_labels:
195+
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.operation == 'create_labels' && !github.event.repository.fork }}
196+
runs-on: ubuntu-slim
197+
permissions:
198+
contents: read
199+
issues: write
200+
steps:
201+
- name: Checkout repository
202+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
203+
with:
204+
persist-credentials: false
205+
206+
- name: Setup Scripts
207+
uses: github/gh-aw-actions/setup@cde65c546c2b0f6d3f3a9492a04e6687887c4fe8 # v0.67.0
208+
with:
209+
destination: ${{ runner.temp }}/gh-aw/actions
210+
211+
- name: Check admin/maintainer permissions
212+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
213+
with:
214+
github-token: ${{ secrets.GITHUB_TOKEN }}
215+
script: |
216+
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
217+
setupGlobals(core, github, context, exec, io);
218+
const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
219+
await main();
220+
221+
- name: Install gh-aw
222+
uses: github/gh-aw-actions/setup-cli@cde65c546c2b0f6d3f3a9492a04e6687887c4fe8 # v0.67.0
223+
with:
224+
version: v0.67.0
225+
226+
- name: Create missing labels
227+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
228+
env:
229+
GH_AW_CMD_PREFIX: gh aw
230+
with:
231+
github-token: ${{ secrets.GITHUB_TOKEN }}
232+
script: |
233+
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
234+
setupGlobals(core, github, context, exec, io);
235+
const { main } = require('${{ runner.temp }}/gh-aw/actions/create_labels.cjs');
236+
await main();

0 commit comments

Comments
 (0)