|
|
@@ -1,4 +1,4 @@
|
|
|
-# This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.86.2). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md
|
|
|
+# 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
|
|
|
#
|
|
|
# ___ _ _
|
|
|
# / _ \ | | (_)
|
|
|
@@ -44,9 +44,9 @@ on:
|
|
|
description: 'Optional maintenance operation to run'
|
|
|
required: false
|
|
|
type: choice
|
|
|
- default: ''
|
|
|
+ default: 'none'
|
|
|
options:
|
|
|
- - ''
|
|
|
+ - 'none'
|
|
|
- 'disable'
|
|
|
- 'enable'
|
|
|
- 'update'
|
|
|
@@ -88,13 +88,13 @@ permissions: {}
|
|
|
|
|
|
jobs:
|
|
|
close-expired-discussions:
|
|
|
- if: ${{ (!(github.event.repository.fork)) && github.event_name != 'push' && (github.event_name != 'workflow_dispatch' && github.event_name != 'workflow_call' || inputs.operation == '') }}
|
|
|
+ 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:
|
|
|
discussions: write
|
|
|
steps:
|
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
@@ -102,18 +102,20 @@ jobs:
|
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
|
with:
|
|
|
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);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_discussions.cjs');
|
|
|
+ const { main } = require(path.join(actionsDir, 'close_expired_discussions.cjs'));
|
|
|
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 == '') }}
|
|
|
+ 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@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
@@ -121,18 +123,20 @@ jobs:
|
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
|
with:
|
|
|
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);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_issues.cjs');
|
|
|
+ const { main } = require(path.join(actionsDir, 'close_expired_issues.cjs'));
|
|
|
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 == '') }}
|
|
|
+ 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@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
@@ -140,19 +144,21 @@ jobs:
|
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
|
with:
|
|
|
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);
|
|
|
- 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();
|
|
|
|
|
|
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
|
|
|
permissions:
|
|
|
actions: write
|
|
|
steps:
|
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
@@ -160,13 +166,15 @@ jobs:
|
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
|
with:
|
|
|
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);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/cleanup_cache_memory.cjs');
|
|
|
+ const { main } = require(path.join(actionsDir, 'cleanup_cache_memory.cjs'));
|
|
|
await main();
|
|
|
|
|
|
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
|
|
|
permissions:
|
|
|
actions: write
|
|
|
@@ -181,7 +189,7 @@ jobs:
|
|
|
persist-credentials: false
|
|
|
|
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
@@ -190,15 +198,17 @@ jobs:
|
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
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);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
|
|
|
|
- name: Install gh-aw
|
|
|
- uses: github/gh-aw-actions/setup-cli@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup-cli@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
- version: v0.86.2
|
|
|
+ version: v0.88.2
|
|
|
|
|
|
- name: Run operation
|
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
|
@@ -209,9 +219,11 @@ jobs:
|
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
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);
|
|
|
- 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();
|
|
|
|
|
|
- name: Record outputs
|
|
|
@@ -228,7 +240,7 @@ jobs:
|
|
|
pull-requests: write
|
|
|
steps:
|
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
@@ -237,9 +249,11 @@ jobs:
|
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
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);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
|
|
|
|
- name: Update pull request branches
|
|
|
@@ -249,9 +263,11 @@ jobs:
|
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
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);
|
|
|
- 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();
|
|
|
|
|
|
apply_safe_outputs:
|
|
|
@@ -275,7 +291,7 @@ jobs:
|
|
|
persist-credentials: false
|
|
|
|
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
@@ -284,9 +300,11 @@ jobs:
|
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
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);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
|
|
|
|
- name: Apply Safe Outputs
|
|
|
@@ -297,9 +315,11 @@ jobs:
|
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
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);
|
|
|
- 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();
|
|
|
|
|
|
- name: Record outputs
|
|
|
@@ -321,7 +341,7 @@ jobs:
|
|
|
persist-credentials: false
|
|
|
|
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
@@ -330,15 +350,17 @@ jobs:
|
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
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);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
|
|
|
|
- name: Install gh-aw
|
|
|
- uses: github/gh-aw-actions/setup-cli@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup-cli@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
- version: v0.86.2
|
|
|
+ version: v0.88.2
|
|
|
|
|
|
- name: Create missing labels
|
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
|
@@ -347,9 +369,11 @@ jobs:
|
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
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);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/create_labels.cjs');
|
|
|
+ const { main } = require(path.join(actionsDir, 'create_labels.cjs'));
|
|
|
await main();
|
|
|
|
|
|
activity_report:
|
|
|
@@ -367,7 +391,7 @@ jobs:
|
|
|
persist-credentials: false
|
|
|
|
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
@@ -376,15 +400,17 @@ jobs:
|
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
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);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
|
|
|
|
- name: Install gh-aw
|
|
|
- uses: github/gh-aw-actions/setup-cli@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup-cli@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
- version: v0.86.2
|
|
|
+ version: v0.88.2
|
|
|
|
|
|
- name: Restore activity report logs cache
|
|
|
id: activity_report_logs_cache
|
|
|
@@ -472,7 +498,7 @@ jobs:
|
|
|
persist-credentials: false
|
|
|
|
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
@@ -481,15 +507,17 @@ jobs:
|
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
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);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
|
|
|
|
- name: Install gh-aw
|
|
|
- uses: github/gh-aw-actions/setup-cli@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup-cli@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
- version: v0.86.2
|
|
|
+ version: v0.88.2
|
|
|
|
|
|
- name: Restore forecast report logs cache
|
|
|
id: forecast_report_logs_cache
|
|
|
@@ -552,9 +580,11 @@ jobs:
|
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
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);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/create_forecast_issue.cjs');
|
|
|
+ const { main } = require(path.join(actionsDir, 'create_forecast_issue.cjs'));
|
|
|
await main();
|
|
|
|
|
|
close_agentic_workflows_issues:
|
|
|
@@ -564,7 +594,7 @@ jobs:
|
|
|
issues: write
|
|
|
steps:
|
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
@@ -573,9 +603,11 @@ jobs:
|
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
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);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
|
|
|
|
- name: Close no-repro agentic-workflows issues
|
|
|
@@ -583,9 +615,11 @@ jobs:
|
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
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);
|
|
|
- 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();
|
|
|
|
|
|
validate_workflows:
|
|
|
@@ -601,7 +635,7 @@ jobs:
|
|
|
persist-credentials: false
|
|
|
|
|
|
- name: Setup Scripts
|
|
|
- uses: github/gh-aw-actions/setup@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
|
|
|
|
@@ -610,15 +644,17 @@ jobs:
|
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
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);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
|
|
|
+ const { main } = require(path.join(actionsDir, 'check_team_member.cjs'));
|
|
|
await main();
|
|
|
|
|
|
- name: Install gh-aw
|
|
|
- uses: github/gh-aw-actions/setup-cli@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
|
|
|
+ uses: github/gh-aw-actions/setup-cli@9271a1804551c0dc4fb0085a97979950aa2f8489 # v0.88.2
|
|
|
with:
|
|
|
- version: v0.86.2
|
|
|
+ version: v0.88.2
|
|
|
|
|
|
- name: Validate workflows and file issue on findings
|
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
|
@@ -627,7 +663,9 @@ jobs:
|
|
|
with:
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
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);
|
|
|
- const { main } = require('${{ runner.temp }}/gh-aw/actions/run_validate_workflows.cjs');
|
|
|
+ const { main } = require(path.join(actionsDir, 'run_validate_workflows.cjs'));
|
|
|
await main();
|