|
@@ -1,18 +1,19 @@
|
|
|
-# ___ _ _
|
|
|
|
|
-# / _ \ | | (_)
|
|
|
|
|
-# | |_| | __ _ ___ _ __ | |_ _ ___
|
|
|
|
|
|
|
+# This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.88.2). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md
|
|
|
|
|
+#
|
|
|
|
|
+# ___ _ _
|
|
|
|
|
+# / _ \ | | (_)
|
|
|
|
|
+# | |_| | __ _ ___ _ __ | |_ _ ___
|
|
|
# | _ |/ _` |/ _ \ '_ \| __| |/ __|
|
|
# | _ |/ _` |/ _ \ '_ \| __| |/ __|
|
|
|
-# | | | | (_| | __/ | | | |_| | (__
|
|
|
|
|
|
|
+# | | | | (_| | __/ | | | |_| | (__
|
|
|
# \_| |_/\__, |\___|_| |_|\__|_|\___|
|
|
# \_| |_/\__, |\___|_| |_|\__|_|\___|
|
|
|
# __/ |
|
|
# __/ |
|
|
|
-# _ _ |___/
|
|
|
|
|
|
|
+# _ _ |___/
|
|
|
# | | | | / _| |
|
|
# | | | | / _| |
|
|
|
# | | | | ___ _ __ _ __| |_| | _____ ____
|
|
# | | | | ___ _ __ _ __| |_| | _____ ____
|
|
|
# | |/\| |/ _ \ '__| |/ /| _| |/ _ \ \ /\ / / ___|
|
|
# | |/\| |/ _ \ '__| |/ /| _| |/ _ \ \ /\ / / ___|
|
|
|
# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \
|
|
# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \
|
|
|
# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
|
|
# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
|
|
|
#
|
|
#
|
|
|
-# This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.79.4). DO NOT EDIT.
|
|
|
|
|
#
|
|
#
|
|
|
# To regenerate this workflow, run:
|
|
# To regenerate this workflow, run:
|
|
|
# gh aw compile
|
|
# gh aw compile
|
|
@@ -20,15 +21,17 @@
|
|
|
#
|
|
#
|
|
|
# For more information: https://github.github.com/gh-aw/introduction/overview/
|
|
# For more information: https://github.github.com/gh-aw/introduction/overview/
|
|
|
#
|
|
#
|
|
|
-# Alternative regeneration methods:
|
|
|
|
|
-# make recompile
|
|
|
|
|
-#
|
|
|
|
|
-# Or use the gh-aw CLI directly:
|
|
|
|
|
-# ./gh-aw compile --validate --verbose
|
|
|
|
|
-#
|
|
|
|
|
-# The workflow is generated when any workflow uses the 'expires' field
|
|
|
|
|
-# in create-discussions, create-issues, or create-pull-request safe-outputs configuration.
|
|
|
|
|
-# Schedule frequency is automatically determined by the shortest expiration time.
|
|
|
|
|
|
|
+# This file defines the generated agentic maintenance workflow for this repository.
|
|
|
|
|
+# It runs scheduled cleanup for expiring safe outputs and supports manual maintenance operations.
|
|
|
|
|
+#
|
|
|
|
|
+# This workflow is generated automatically when workflows use expiring safe outputs
|
|
|
|
|
+# or when repository maintenance features are enabled in .github/workflows/aw.json.
|
|
|
|
|
+#
|
|
|
|
|
+# To disable maintenance workflow generation, set in .github/workflows/aw.json:
|
|
|
|
|
+# {"maintenance": false}
|
|
|
|
|
+#
|
|
|
|
|
+# Agentic maintenance docs:
|
|
|
|
|
+# https://github.github.com/gh-aw/reference/ephemerals/#manual-maintenance-operations
|
|
|
#
|
|
#
|
|
|
name: Agentic Maintenance
|
|
name: Agentic Maintenance
|
|
|
|
|
|
|
@@ -41,9 +44,9 @@ on:
|
|
|
description: 'Optional maintenance operation to run'
|
|
description: 'Optional maintenance operation to run'
|
|
|
required: false
|
|
required: false
|
|
|
type: choice
|
|
type: choice
|
|
|
- default: ''
|
|
|
|
|
|
|
+ default: 'none'
|
|
|
options:
|
|
options:
|
|
|
- - ''
|
|
|
|
|
|
|
+ - 'none'
|
|
|
- 'disable'
|
|
- 'disable'
|
|
|
- 'enable'
|
|
- 'enable'
|
|
|
- 'update'
|
|
- 'update'
|
|
@@ -84,16 +87,14 @@ on:
|
|
|
permissions: {}
|
|
permissions: {}
|
|
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
|
- close-expired-entities:
|
|
|
|
|
- if: ${{ (!(github.event.repository.fork)) && github.event_name != 'push' && (github.event_name != 'workflow_dispatch' && github.event_name != 'workflow_call' || inputs.operation == '') }}
|
|
|
|
|
|
|
+ close-expired-discussions:
|
|
|
|
|
+ if: ${{ (!(github.event.repository.fork)) && github.event_name != 'push' && (github.event_name != 'workflow_dispatch' && github.event_name != 'workflow_call' || inputs.operation == '' || inputs.operation == 'none') }}
|
|
|
runs-on: ubuntu-slim
|
|
runs-on: ubuntu-slim
|
|
|
permissions:
|
|
permissions:
|
|
|
discussions: write
|
|
discussions: write
|
|
|
- issues: write
|
|
|
|
|
- pull-requests: write
|
|
|
|
|
steps:
|
|
steps:
|
|
|
- name: Setup Scripts
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
|
|
|
|
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
|
@@ -101,37 +102,63 @@ jobs:
|
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
|
with:
|
|
with:
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_discussions.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'close_expired_discussions.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
+ close-expired-issues:
|
|
|
|
|
+ if: ${{ (!(github.event.repository.fork)) && github.event_name != 'push' && (github.event_name != 'workflow_dispatch' && github.event_name != 'workflow_call' || inputs.operation == '' || inputs.operation == 'none') }}
|
|
|
|
|
+ runs-on: ubuntu-slim
|
|
|
|
|
+ permissions:
|
|
|
|
|
+ issues: write
|
|
|
|
|
+ steps:
|
|
|
|
|
+ - name: Setup Scripts
|
|
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
|
|
+ with:
|
|
|
|
|
+ destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
|
|
- name: Close expired issues
|
|
- name: Close expired issues
|
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
|
with:
|
|
with:
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_issues.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'close_expired_issues.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
+ close-expired-pull-requests:
|
|
|
|
|
+ if: ${{ (!(github.event.repository.fork)) && github.event_name != 'push' && (github.event_name != 'workflow_dispatch' && github.event_name != 'workflow_call' || inputs.operation == '' || inputs.operation == 'none') }}
|
|
|
|
|
+ runs-on: ubuntu-slim
|
|
|
|
|
+ permissions:
|
|
|
|
|
+ pull-requests: write
|
|
|
|
|
+ steps:
|
|
|
|
|
+ - name: Setup Scripts
|
|
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
|
|
+ with:
|
|
|
|
|
+ destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
|
|
- name: Close expired pull requests
|
|
- name: Close expired pull requests
|
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
|
with:
|
|
with:
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_pull_requests.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'close_expired_pull_requests.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
cleanup-cache-memory:
|
|
cleanup-cache-memory:
|
|
|
- if: ${{ (!(github.event.repository.fork)) && github.event_name != 'push' && (github.event_name != 'workflow_dispatch' && github.event_name != 'workflow_call' || inputs.operation == '' || inputs.operation == 'clean_cache_memories') }}
|
|
|
|
|
|
|
+ if: ${{ (!(github.event.repository.fork)) && github.event_name != 'push' && (github.event_name != 'workflow_dispatch' && github.event_name != 'workflow_call' || inputs.operation == '' || inputs.operation == 'none' || inputs.operation == 'clean_cache_memories') }}
|
|
|
runs-on: ubuntu-slim
|
|
runs-on: ubuntu-slim
|
|
|
permissions:
|
|
permissions:
|
|
|
actions: write
|
|
actions: write
|
|
|
steps:
|
|
steps:
|
|
|
- name: Setup Scripts
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
|
|
|
|
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
|
@@ -139,13 +166,15 @@ jobs:
|
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
|
with:
|
|
with:
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/cleanup_cache_memory.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'cleanup_cache_memory.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
run_operation:
|
|
run_operation:
|
|
|
- if: ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation != '' && inputs.operation != 'safe_outputs' && inputs.operation != 'create_labels' && inputs.operation != 'activity_report' && inputs.operation != 'close_agentic_workflows_issues' && inputs.operation != 'clean_cache_memories' && inputs.operation != 'update_pull_request_branches' && inputs.operation != 'validate' && inputs.operation != 'forecast' && (!(github.event.repository.fork)) }}
|
|
|
|
|
|
|
+ if: ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation != '' && inputs.operation != 'none' && inputs.operation != 'safe_outputs' && inputs.operation != 'create_labels' && inputs.operation != 'activity_report' && inputs.operation != 'close_agentic_workflows_issues' && inputs.operation != 'clean_cache_memories' && inputs.operation != 'update_pull_request_branches' && inputs.operation != 'validate' && inputs.operation != 'forecast' && (!(github.event.repository.fork)) }}
|
|
|
runs-on: ubuntu-slim
|
|
runs-on: ubuntu-slim
|
|
|
permissions:
|
|
permissions:
|
|
|
actions: write
|
|
actions: write
|
|
@@ -155,12 +184,12 @@ jobs:
|
|
|
operation: ${{ steps.record.outputs.operation }}
|
|
operation: ${{ steps.record.outputs.operation }}
|
|
|
steps:
|
|
steps:
|
|
|
- name: Checkout repository
|
|
- name: Checkout repository
|
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
|
|
|
|
|
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
with:
|
|
with:
|
|
|
persist-credentials: false
|
|
persist-credentials: false
|
|
|
|
|
|
|
|
- name: Setup Scripts
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
|
|
|
|
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
|
@@ -169,15 +198,17 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
- name: Install gh-aw
|
|
- name: Install gh-aw
|
|
|
- uses: github/gh-aw-actions/setup-cli@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
|
|
|
|
|
|
|
+ uses: github/gh-aw-actions/setup-cli@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
with:
|
|
|
- version: v0.79.4
|
|
|
|
|
|
|
+ version: v0.88.2
|
|
|
|
|
|
|
|
- name: Run operation
|
|
- name: Run operation
|
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
@@ -188,14 +219,18 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/run_operation_update_upgrade.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'run_operation_update_upgrade.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
- name: Record outputs
|
|
- name: Record outputs
|
|
|
id: record
|
|
id: record
|
|
|
- run: echo "operation=${{ inputs.operation }}" >> "$GITHUB_OUTPUT"
|
|
|
|
|
|
|
+ env:
|
|
|
|
|
+ GH_AW_OPERATION: ${{ inputs.operation }}
|
|
|
|
|
+ run: echo "operation=$GH_AW_OPERATION" >> "$GITHUB_OUTPUT"
|
|
|
|
|
|
|
|
update_pull_request_branches:
|
|
update_pull_request_branches:
|
|
|
if: ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation == 'update_pull_request_branches' && (!(github.event.repository.fork)) }}
|
|
if: ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation == 'update_pull_request_branches' && (!(github.event.repository.fork)) }}
|
|
@@ -205,7 +240,7 @@ jobs:
|
|
|
pull-requests: write
|
|
pull-requests: write
|
|
|
steps:
|
|
steps:
|
|
|
- name: Setup Scripts
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
|
|
|
|
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
|
@@ -214,9 +249,11 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
- name: Update pull request branches
|
|
- name: Update pull request branches
|
|
@@ -226,9 +263,11 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/update_pull_request_branches.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'update_pull_request_branches.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
apply_safe_outputs:
|
|
apply_safe_outputs:
|
|
@@ -244,14 +283,15 @@ jobs:
|
|
|
run_url: ${{ steps.record.outputs.run_url }}
|
|
run_url: ${{ steps.record.outputs.run_url }}
|
|
|
steps:
|
|
steps:
|
|
|
- name: Checkout actions folder
|
|
- name: Checkout actions folder
|
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
|
|
|
|
|
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
with:
|
|
with:
|
|
|
sparse-checkout: |
|
|
sparse-checkout: |
|
|
|
actions
|
|
actions
|
|
|
|
|
+ clean: false
|
|
|
persist-credentials: false
|
|
persist-credentials: false
|
|
|
|
|
|
|
|
- name: Setup Scripts
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
|
|
|
|
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
|
@@ -260,9 +300,11 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
- name: Apply Safe Outputs
|
|
- name: Apply Safe Outputs
|
|
@@ -273,14 +315,18 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/apply_safe_outputs_replay.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'apply_safe_outputs_replay.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
- name: Record outputs
|
|
- name: Record outputs
|
|
|
id: record
|
|
id: record
|
|
|
- run: echo "run_url=${{ inputs.run_url }}" >> "$GITHUB_OUTPUT"
|
|
|
|
|
|
|
+ env:
|
|
|
|
|
+ GH_AW_RUN_URL: ${{ inputs.run_url }}
|
|
|
|
|
+ run: echo "run_url=$GH_AW_RUN_URL" >> "$GITHUB_OUTPUT"
|
|
|
|
|
|
|
|
create_labels:
|
|
create_labels:
|
|
|
if: ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation == 'create_labels' && (!(github.event.repository.fork)) }}
|
|
if: ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation == 'create_labels' && (!(github.event.repository.fork)) }}
|
|
@@ -290,12 +336,12 @@ jobs:
|
|
|
issues: write
|
|
issues: write
|
|
|
steps:
|
|
steps:
|
|
|
- name: Checkout repository
|
|
- name: Checkout repository
|
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
|
|
|
|
|
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
with:
|
|
with:
|
|
|
persist-credentials: false
|
|
persist-credentials: false
|
|
|
|
|
|
|
|
- name: Setup Scripts
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
|
|
|
|
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
|
@@ -304,15 +350,17 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
- name: Install gh-aw
|
|
- name: Install gh-aw
|
|
|
- uses: github/gh-aw-actions/setup-cli@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
|
|
|
|
|
|
|
+ uses: github/gh-aw-actions/setup-cli@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
with:
|
|
|
- version: v0.79.4
|
|
|
|
|
|
|
+ version: v0.88.2
|
|
|
|
|
|
|
|
- name: Create missing labels
|
|
- name: Create missing labels
|
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
@@ -321,9 +369,11 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/create_labels.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'create_labels.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
activity_report:
|
|
activity_report:
|
|
@@ -336,12 +386,12 @@ jobs:
|
|
|
issues: write
|
|
issues: write
|
|
|
steps:
|
|
steps:
|
|
|
- name: Checkout repository
|
|
- name: Checkout repository
|
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
|
|
|
|
|
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
with:
|
|
with:
|
|
|
persist-credentials: false
|
|
persist-credentials: false
|
|
|
|
|
|
|
|
- name: Setup Scripts
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
|
|
|
|
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
|
@@ -350,19 +400,21 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
- name: Install gh-aw
|
|
- name: Install gh-aw
|
|
|
- uses: github/gh-aw-actions/setup-cli@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
|
|
|
|
|
|
|
+ uses: github/gh-aw-actions/setup-cli@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
with:
|
|
|
- version: v0.79.4
|
|
|
|
|
|
|
+ version: v0.88.2
|
|
|
|
|
|
|
|
- name: Restore activity report logs cache
|
|
- name: Restore activity report logs cache
|
|
|
id: activity_report_logs_cache
|
|
id: activity_report_logs_cache
|
|
|
- uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
|
|
|
|
|
|
+ uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
|
with:
|
|
with:
|
|
|
path: ./.cache/gh-aw/activity-report-logs
|
|
path: ./.cache/gh-aw/activity-report-logs
|
|
|
key: ${{ runner.os }}-activity-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
|
|
key: ${{ runner.os }}-activity-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
|
|
@@ -377,16 +429,16 @@ jobs:
|
|
|
GH_AW_CMD_PREFIX: gh aw
|
|
GH_AW_CMD_PREFIX: gh aw
|
|
|
run: |
|
|
run: |
|
|
|
${GH_AW_CMD_PREFIX} logs \
|
|
${GH_AW_CMD_PREFIX} logs \
|
|
|
- --repo "${{ github.repository }}" \
|
|
|
|
|
|
|
+ --repo "$GITHUB_REPOSITORY" \
|
|
|
--start-date -1w \
|
|
--start-date -1w \
|
|
|
- --count 100 \
|
|
|
|
|
|
|
+ --count 500 \
|
|
|
--output ./.cache/gh-aw/activity-report-logs \
|
|
--output ./.cache/gh-aw/activity-report-logs \
|
|
|
--format markdown \
|
|
--format markdown \
|
|
|
- > ./.cache/gh-aw/activity-report-logs/report.md
|
|
|
|
|
|
|
+ --report-file ./.cache/gh-aw/activity-report-logs/report.md
|
|
|
|
|
|
|
|
- name: Save activity report logs cache
|
|
- name: Save activity report logs cache
|
|
|
if: ${{ always() }}
|
|
if: ${{ always() }}
|
|
|
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
|
|
|
|
|
|
+ uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
|
with:
|
|
with:
|
|
|
path: ./.cache/gh-aw/activity-report-logs
|
|
path: ./.cache/gh-aw/activity-report-logs
|
|
|
key: ${{ steps.activity_report_logs_cache.outputs.cache-primary-key }}
|
|
key: ${{ steps.activity_report_logs_cache.outputs.cache-primary-key }}
|
|
@@ -441,12 +493,12 @@ jobs:
|
|
|
issues: write
|
|
issues: write
|
|
|
steps:
|
|
steps:
|
|
|
- name: Checkout repository
|
|
- name: Checkout repository
|
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
|
|
|
|
|
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
with:
|
|
with:
|
|
|
persist-credentials: false
|
|
persist-credentials: false
|
|
|
|
|
|
|
|
- name: Setup Scripts
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
|
|
|
|
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
|
@@ -455,19 +507,21 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
- name: Install gh-aw
|
|
- name: Install gh-aw
|
|
|
- uses: github/gh-aw-actions/setup-cli@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
|
|
|
|
|
|
|
+ uses: github/gh-aw-actions/setup-cli@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
with:
|
|
|
- version: v0.79.4
|
|
|
|
|
|
|
+ version: v0.88.2
|
|
|
|
|
|
|
|
- name: Restore forecast report logs cache
|
|
- name: Restore forecast report logs cache
|
|
|
id: forecast_report_logs_cache
|
|
id: forecast_report_logs_cache
|
|
|
- uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
|
|
|
|
|
|
+ uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
|
with:
|
|
with:
|
|
|
path: ./.github/aw/logs
|
|
path: ./.github/aw/logs
|
|
|
key: ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
|
|
key: ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
|
|
@@ -486,7 +540,7 @@ jobs:
|
|
|
run: |
|
|
run: |
|
|
|
mkdir -p ./.cache/gh-aw/forecast
|
|
mkdir -p ./.cache/gh-aw/forecast
|
|
|
set +e
|
|
set +e
|
|
|
- ${GH_AW_CMD_PREFIX} forecast --repo "${{ github.repository }}" --timeout 30 --verbose --json > ./.cache/gh-aw/forecast/report.json
|
|
|
|
|
|
|
+ ${GH_AW_CMD_PREFIX} forecast --repo "$GITHUB_REPOSITORY" --timeout 30 --verbose --json > ./.cache/gh-aw/forecast/report.json
|
|
|
forecast_exit_code=$?
|
|
forecast_exit_code=$?
|
|
|
set -e
|
|
set -e
|
|
|
if [ "${forecast_exit_code}" -eq 124 ]; then
|
|
if [ "${forecast_exit_code}" -eq 124 ]; then
|
|
@@ -513,7 +567,7 @@ jobs:
|
|
|
|
|
|
|
|
- name: Save forecast report logs cache
|
|
- name: Save forecast report logs cache
|
|
|
if: ${{ always() }}
|
|
if: ${{ always() }}
|
|
|
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
|
|
|
|
|
|
+ uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
|
with:
|
|
with:
|
|
|
path: ./.github/aw/logs
|
|
path: ./.github/aw/logs
|
|
|
key: ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
|
|
key: ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
|
|
@@ -526,9 +580,11 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/create_forecast_issue.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'create_forecast_issue.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
close_agentic_workflows_issues:
|
|
close_agentic_workflows_issues:
|
|
@@ -538,7 +594,7 @@ jobs:
|
|
|
issues: write
|
|
issues: write
|
|
|
steps:
|
|
steps:
|
|
|
- name: Setup Scripts
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
|
|
|
|
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
|
@@ -547,9 +603,11 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
- name: Close no-repro agentic-workflows issues
|
|
- name: Close no-repro agentic-workflows issues
|
|
@@ -557,9 +615,11 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/close_agentic_workflows_issues.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'close_agentic_workflows_issues.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
validate_workflows:
|
|
validate_workflows:
|
|
@@ -570,12 +630,12 @@ jobs:
|
|
|
issues: write
|
|
issues: write
|
|
|
steps:
|
|
steps:
|
|
|
- name: Checkout repository
|
|
- name: Checkout repository
|
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
|
|
|
|
|
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
with:
|
|
with:
|
|
|
persist-credentials: false
|
|
persist-credentials: false
|
|
|
|
|
|
|
|
- name: Setup Scripts
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
|
|
|
|
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
|
@@ -584,15 +644,17 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
await main();
|
|
|
|
|
|
|
|
- name: Install gh-aw
|
|
- name: Install gh-aw
|
|
|
- uses: github/gh-aw-actions/setup-cli@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
|
|
|
|
|
|
|
+ uses: github/gh-aw-actions/setup-cli@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
with:
|
|
|
- version: v0.79.4
|
|
|
|
|
|
|
+ version: v0.88.2
|
|
|
|
|
|
|
|
- name: Validate workflows and file issue on findings
|
|
- name: Validate workflows and file issue on findings
|
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
@@ -601,7 +663,9 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
script: |
|
|
script: |
|
|
|
- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
|
|
|
|
|
|
|
+ const path = require('path');
|
|
|
|
|
+ const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
|
|
|
|
|
+ const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
|
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
setupGlobals(core, github, context, exec, io, getOctokit);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/run_validate_workflows.cjs');
|
|
|
|
|
|
|
+ const { main } = require(path.join(actionsDir, 'run_validate_workflows.cjs'));
|
|
|
await main();
|
|
await main();
|