Skip to content

Commit e112d6d

Browse files
committed
chore: update compiled workflows via e2e.sh
1 parent 23ef6fb commit e112d6d

82 files changed

Lines changed: 22422 additions & 15556 deletions

File tree

Some content is hidden

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

.github/aw/actions-lock.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,20 @@
1515
"version": "v8",
1616
"sha": "ed597411d8f924073f98dfc5c65a23a2325f34cd"
1717
},
18-
"github/gh-aw-actions/setup-cli@v0.64.3": {
18+
"actions/github-script@v9": {
19+
"repo": "actions/github-script",
20+
"version": "v9",
21+
"sha": "373c709c69115d41ff229c7e5df9f8788daa9553"
22+
},
23+
"github/gh-aw-actions/setup-cli@v0.68.1": {
1924
"repo": "github/gh-aw-actions/setup-cli",
20-
"version": "v0.64.3",
21-
"sha": "84dc9c12e0d955a200911a3a07c3f5dd96a175d7"
25+
"version": "v0.68.1",
26+
"sha": "2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc"
2227
},
23-
"github/gh-aw-actions/setup@v0.64.3": {
28+
"github/gh-aw-actions/setup@v0.68.1": {
2429
"repo": "github/gh-aw-actions/setup",
25-
"version": "v0.64.3",
26-
"sha": "84dc9c12e0d955a200911a3a07c3f5dd96a175d7"
30+
"version": "v0.68.1",
31+
"sha": "2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc"
2732
},
2833
"github/gh-aw/actions/setup@v0.43.22": {
2934
"repo": "github/gh-aw/actions/setup",

.github/workflows/agentics-maintenance.yml

Lines changed: 66 additions & 21 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.64.3). 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
@@ -49,6 +49,7 @@ on:
4949
- 'update'
5050
- 'upgrade'
5151
- 'safe_outputs'
52+
- 'create_labels'
5253
run_url:
5354
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.'
5455
required: false
@@ -67,39 +68,39 @@ jobs:
6768
pull-requests: write
6869
steps:
6970
- name: Setup Scripts
70-
uses: github/gh-aw-actions/setup@84dc9c12e0d955a200911a3a07c3f5dd96a175d7 # v0.64.3
71+
uses: github/gh-aw-actions/setup@2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc # v0.68.1
7172
with:
7273
destination: ${{ runner.temp }}/gh-aw/actions
7374

7475
- name: Close expired discussions
75-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
76+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
7677
with:
7778
script: |
7879
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
79-
setupGlobals(core, github, context, exec, io);
80+
setupGlobals(core, github, context, exec, io, getOctokit);
8081
const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_discussions.cjs');
8182
await main();
8283
8384
- name: Close expired issues
84-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
85+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
8586
with:
8687
script: |
8788
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
88-
setupGlobals(core, github, context, exec, io);
89+
setupGlobals(core, github, context, exec, io, getOctokit);
8990
const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_issues.cjs');
9091
await main();
9192
9293
- name: Close expired pull requests
93-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
94+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
9495
with:
9596
script: |
9697
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
97-
setupGlobals(core, github, context, exec, io);
98+
setupGlobals(core, github, context, exec, io, getOctokit);
9899
const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_pull_requests.cjs');
99100
await main();
100101
101102
run_operation:
102-
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.operation != '' && github.event.inputs.operation != 'safe_outputs' && !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 }}
103104
runs-on: ubuntu-slim
104105
permissions:
105106
actions: write
@@ -112,27 +113,27 @@ jobs:
112113
persist-credentials: false
113114

114115
- name: Setup Scripts
115-
uses: github/gh-aw-actions/setup@84dc9c12e0d955a200911a3a07c3f5dd96a175d7 # v0.64.3
116+
uses: github/gh-aw-actions/setup@2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc # v0.68.1
116117
with:
117118
destination: ${{ runner.temp }}/gh-aw/actions
118119

119120
- name: Check admin/maintainer permissions
120-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
121+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
121122
with:
122123
github-token: ${{ secrets.GITHUB_TOKEN }}
123124
script: |
124125
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
125-
setupGlobals(core, github, context, exec, io);
126+
setupGlobals(core, github, context, exec, io, getOctokit);
126127
const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
127128
await main();
128129
129130
- name: Install gh-aw
130-
uses: github/gh-aw-actions/setup-cli@84dc9c12e0d955a200911a3a07c3f5dd96a175d7 # v0.64.3
131+
uses: github/gh-aw-actions/setup-cli@2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc # v0.68.1
131132
with:
132-
version: v0.64.3
133+
version: v0.68.1
133134

134135
- name: Run operation
135-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
136+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
136137
env:
137138
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
138139
GH_AW_OPERATION: ${{ github.event.inputs.operation }}
@@ -141,7 +142,7 @@ jobs:
141142
github-token: ${{ secrets.GITHUB_TOKEN }}
142143
script: |
143144
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
144-
setupGlobals(core, github, context, exec, io);
145+
setupGlobals(core, github, context, exec, io, getOctokit);
145146
const { main } = require('${{ runner.temp }}/gh-aw/actions/run_operation_update_upgrade.cjs');
146147
await main();
147148
@@ -163,29 +164,73 @@ jobs:
163164
persist-credentials: false
164165

165166
- name: Setup Scripts
166-
uses: github/gh-aw-actions/setup@84dc9c12e0d955a200911a3a07c3f5dd96a175d7 # v0.64.3
167+
uses: github/gh-aw-actions/setup@2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc # v0.68.1
167168
with:
168169
destination: ${{ runner.temp }}/gh-aw/actions
169170

170171
- name: Check admin/maintainer permissions
171-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
172+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
172173
with:
173174
github-token: ${{ secrets.GITHUB_TOKEN }}
174175
script: |
175176
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
176-
setupGlobals(core, github, context, exec, io);
177+
setupGlobals(core, github, context, exec, io, getOctokit);
177178
const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
178179
await main();
179180
180181
- name: Apply Safe Outputs
181-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
182+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
182183
env:
183184
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
184185
GH_AW_RUN_URL: ${{ github.event.inputs.run_url }}
185186
with:
186187
github-token: ${{ secrets.GITHUB_TOKEN }}
187188
script: |
188189
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
189-
setupGlobals(core, github, context, exec, io);
190+
setupGlobals(core, github, context, exec, io, getOctokit);
190191
const { main } = require('${{ runner.temp }}/gh-aw/actions/apply_safe_outputs_replay.cjs');
191192
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@2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc # v0.68.1
208+
with:
209+
destination: ${{ runner.temp }}/gh-aw/actions
210+
211+
- name: Check admin/maintainer permissions
212+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
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, getOctokit);
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@2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc # v0.68.1
223+
with:
224+
version: v0.68.1
225+
226+
- name: Create missing labels
227+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
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, getOctokit);
235+
const { main } = require('${{ runner.temp }}/gh-aw/actions/create_labels.cjs');
236+
await main();

0 commit comments

Comments
 (0)