From f5a17292ef227f4499093a7a12b5c8cba07c37eb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 23 Jul 2026 12:55:06 +0000 Subject: [PATCH] chore: upgrade agentic workflows from v0.81.3 to v0.83.1 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/agentic-auto-upgrade.yml | 21 +++--- .github/workflows/agentic_commands.yml | 72 ++++++++++++++++++ .github/workflows/agentics-maintenance.yml | 85 +++++++++++++--------- 3 files changed, 135 insertions(+), 43 deletions(-) create mode 100644 .github/workflows/agentic_commands.yml diff --git a/.github/workflows/agentic-auto-upgrade.yml b/.github/workflows/agentic-auto-upgrade.yml index f7c3f9d..8a1933f 100644 --- a/.github/workflows/agentic-auto-upgrade.yml +++ b/.github/workflows/agentic-auto-upgrade.yml @@ -1,13 +1,13 @@ -# This file was automatically generated by pkg/workflow/auto_update_workflow.go (v0.81.3). 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/auto_update_workflow.go (v0.83.1). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md # -# ___ _ _ -# / _ \ | | (_) -# | |_| | __ _ ___ _ __ | |_ _ ___ +# ___ _ _ +# / _ \ | | (_) +# | |_| | __ _ ___ _ __ | |_ _ ___ # | _ |/ _` |/ _ \ '_ \| __| |/ __| -# | | | | (_| | __/ | | | |_| | (__ +# | | | | (_| | __/ | | | |_| | (__ # \_| |_/\__, |\___|_| |_|\__|_|\___| # __/ | -# _ _ |___/ +# _ _ |___/ # | | | | / _| | # | | | | ___ _ __ _ __| |_| | _____ ____ # | |/\| |/ _ \ '__| |/ /| _| |/ _ \ \ /\ / / ___| @@ -27,7 +27,8 @@ # Or use the gh-aw CLI directly: # ./gh-aw compile --validate --verbose # -# The workflow is generated when auto_upgrade is set to true in aw.json. +# The workflow is generated when auto_upgrade is enabled in aw.json (true or object form). +# When auto_upgrade is an object without a cron, the fuzzy weekly schedule is used. # The weekly schedule is deterministically scattered based on the repository slug. # name: Agentic Auto-Upgrade @@ -49,12 +50,12 @@ jobs: uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Install gh-aw - uses: github/gh-aw-actions/setup-cli@v0.81.3 + uses: github/gh-aw-actions/setup-cli@v0.83.1 with: - version: v0.81.3 + version: v0.83.1 - name: Setup Scripts - uses: github/gh-aw-actions/setup@v0.81.3 + uses: github/gh-aw-actions/setup@v0.83.1 with: destination: ${{ runner.temp }}/gh-aw/actions diff --git a/.github/workflows/agentic_commands.yml b/.github/workflows/agentic_commands.yml new file mode 100644 index 0000000..3d5b1d9 --- /dev/null +++ b/.github/workflows/agentic_commands.yml @@ -0,0 +1,72 @@ +# gh-aw-commands: {"payload_version":"v1","schema_version":"v1","compiler_version":"v0.83.1","commands":["matt"],"workflows":["mattpocock-skills-reviewer"]} +# Routing summary (sorted): +# slash commands: +# /matt -> mattpocock-skills-reviewer [pull_request_comment,pull_request_review_comment] reaction=eyes +# labels: +# (none) +# This file was automatically generated by gh-aw (v0.83.1). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md +# +# ___ _ _ +# / _ \ | | (_) +# | |_| | __ _ ___ _ __ | |_ _ ___ +# | _ |/ _` |/ _ \ '_ \| __| |/ __| +# | | | | (_| | __/ | | | |_| | (__ +# \_| |_/\__, |\___|_| |_|\__|_|\___| +# __/ | +# _ _ |___/ +# | | | | / _| | +# | | | | ___ _ __ _ __| |_| | _____ ____ +# | |/\| |/ _ \ '__| |/ /| _| |/ _ \ \ /\ / / ___| +# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \ +# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/ +# +# +# To regenerate this workflow, run: +# gh aw compile +# Not all edits will cause changes to this file. +# +# For more information: https://github.github.com/gh-aw/introduction/overview/ +# +name: "Agentic Commands" + +on: + issue_comment: + types: [created, edited] + pull_request_review_comment: + types: [created, edited] + +permissions: {} + +jobs: + route: + runs-on: ubuntu-slim + timeout-minutes: 15 + permissions: + actions: write + contents: read + issues: write + pull-requests: write + + steps: + - name: Checkout repository + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + + - name: Setup Scripts + uses: github/gh-aw-actions/setup@v0.83.1 + with: + destination: ${{ runner.temp }}/gh-aw/actions + + - name: Route slash command + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 + env: + GH_AW_SLASH_ROUTING: '{"matt":[{"workflow":"mattpocock-skills-reviewer","events":["pull_request_comment","pull_request_review_comment"],"ai_reaction":"eyes","status_comment":true}]}' + GH_AW_LABEL_ROUTING: '{}' + GH_AW_HELP_COMMANDS: '[{"command":"matt","description":"Reviews pull requests using Matt Pocock''s engineering skills to provide targeted, high-quality improvement suggestions based on the type of changes","centralized":true,"decentralized":false,"source_file":"mattpocock-skills-reviewer"}]' + GH_AW_HELP_COMMAND_ENABLED: 'true' + GH_AW_SLASH_COMMAND_DOCS_URL: 'https://github.github.com/gh-aw/reference/command-triggers/' + with: + script: | + const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); + setupGlobals(core, github, context, exec, io, getOctokit); + const { main } = require('${{ runner.temp }}/gh-aw/actions/route_slash_command.cjs'); + await main(); diff --git a/.github/workflows/agentics-maintenance.yml b/.github/workflows/agentics-maintenance.yml index bb0a67f..3091d23 100644 --- a/.github/workflows/agentics-maintenance.yml +++ b/.github/workflows/agentics-maintenance.yml @@ -1,13 +1,13 @@ -# This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.81.3). 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.83.1). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md # -# ___ _ _ -# / _ \ | | (_) -# | |_| | __ _ ___ _ __ | |_ _ ___ +# ___ _ _ +# / _ \ | | (_) +# | |_| | __ _ ___ _ __ | |_ _ ___ # | _ |/ _` |/ _ \ '_ \| __| |/ __| -# | | | | (_| | __/ | | | |_| | (__ +# | | | | (_| | __/ | | | |_| | (__ # \_| |_/\__, |\___|_| |_|\__|_|\___| # __/ | -# _ _ |___/ +# _ _ |___/ # | | | | / _| | # | | | | ___ _ __ _ __| |_| | _____ ____ # | |/\| |/ _ \ '__| |/ /| _| |/ _ \ \ /\ / / ___| @@ -87,16 +87,14 @@ on: permissions: {} jobs: - close-expired-entities: + close-expired-discussions: if: ${{ (!(github.event.repository.fork)) && github.event_name != 'push' && (github.event_name != 'workflow_dispatch' && github.event_name != 'workflow_call' || inputs.operation == '') }} runs-on: ubuntu-slim permissions: discussions: write - issues: write - pull-requests: write steps: - name: Setup Scripts - uses: github/gh-aw-actions/setup@v0.81.3 + uses: github/gh-aw-actions/setup@v0.83.1 with: destination: ${{ runner.temp }}/gh-aw/actions @@ -108,6 +106,16 @@ jobs: setupGlobals(core, github, context, exec, io, getOctokit); const { main } = require('${{ runner.temp }}/gh-aw/actions/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 == '') }} + runs-on: ubuntu-slim + permissions: + issues: write + steps: + - name: Setup Scripts + uses: github/gh-aw-actions/setup@v0.83.1 + with: + destination: ${{ runner.temp }}/gh-aw/actions - name: Close expired issues uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 @@ -117,6 +125,16 @@ jobs: setupGlobals(core, github, context, exec, io, getOctokit); const { main } = require('${{ runner.temp }}/gh-aw/actions/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 == '') }} + runs-on: ubuntu-slim + permissions: + pull-requests: write + steps: + - name: Setup Scripts + uses: github/gh-aw-actions/setup@v0.83.1 + with: + destination: ${{ runner.temp }}/gh-aw/actions - name: Close expired pull requests uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 @@ -134,7 +152,7 @@ jobs: actions: write steps: - name: Setup Scripts - uses: github/gh-aw-actions/setup@v0.81.3 + uses: github/gh-aw-actions/setup@v0.83.1 with: destination: ${{ runner.temp }}/gh-aw/actions @@ -163,7 +181,7 @@ jobs: persist-credentials: false - name: Setup Scripts - uses: github/gh-aw-actions/setup@v0.81.3 + uses: github/gh-aw-actions/setup@v0.83.1 with: destination: ${{ runner.temp }}/gh-aw/actions @@ -178,9 +196,9 @@ jobs: await main(); - name: Install gh-aw - uses: github/gh-aw-actions/setup-cli@v0.81.3 + uses: github/gh-aw-actions/setup-cli@v0.83.1 with: - version: v0.81.3 + version: v0.83.1 - name: Run operation uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 @@ -210,7 +228,7 @@ jobs: pull-requests: write steps: - name: Setup Scripts - uses: github/gh-aw-actions/setup@v0.81.3 + uses: github/gh-aw-actions/setup@v0.83.1 with: destination: ${{ runner.temp }}/gh-aw/actions @@ -253,10 +271,11 @@ jobs: with: sparse-checkout: | actions + clean: false persist-credentials: false - name: Setup Scripts - uses: github/gh-aw-actions/setup@v0.81.3 + uses: github/gh-aw-actions/setup@v0.83.1 with: destination: ${{ runner.temp }}/gh-aw/actions @@ -302,7 +321,7 @@ jobs: persist-credentials: false - name: Setup Scripts - uses: github/gh-aw-actions/setup@v0.81.3 + uses: github/gh-aw-actions/setup@v0.83.1 with: destination: ${{ runner.temp }}/gh-aw/actions @@ -317,9 +336,9 @@ jobs: await main(); - name: Install gh-aw - uses: github/gh-aw-actions/setup-cli@v0.81.3 + uses: github/gh-aw-actions/setup-cli@v0.83.1 with: - version: v0.81.3 + version: v0.83.1 - name: Create missing labels uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 @@ -348,7 +367,7 @@ jobs: persist-credentials: false - name: Setup Scripts - uses: github/gh-aw-actions/setup@v0.81.3 + uses: github/gh-aw-actions/setup@v0.83.1 with: destination: ${{ runner.temp }}/gh-aw/actions @@ -363,13 +382,13 @@ jobs: await main(); - name: Install gh-aw - uses: github/gh-aw-actions/setup-cli@v0.81.3 + uses: github/gh-aw-actions/setup-cli@v0.83.1 with: - version: v0.81.3 + version: v0.83.1 - name: Restore 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: path: ./.cache/gh-aw/activity-report-logs key: ${{ runner.os }}-activity-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }} @@ -393,7 +412,7 @@ jobs: - name: Save activity report logs cache if: ${{ always() }} - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ./.cache/gh-aw/activity-report-logs key: ${{ steps.activity_report_logs_cache.outputs.cache-primary-key }} @@ -453,7 +472,7 @@ jobs: persist-credentials: false - name: Setup Scripts - uses: github/gh-aw-actions/setup@v0.81.3 + uses: github/gh-aw-actions/setup@v0.83.1 with: destination: ${{ runner.temp }}/gh-aw/actions @@ -468,13 +487,13 @@ jobs: await main(); - name: Install gh-aw - uses: github/gh-aw-actions/setup-cli@v0.81.3 + uses: github/gh-aw-actions/setup-cli@v0.83.1 with: - version: v0.81.3 + version: v0.83.1 - name: Restore 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: path: ./.github/aw/logs key: ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }} @@ -520,7 +539,7 @@ jobs: - name: Save forecast report logs cache if: ${{ always() }} - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ./.github/aw/logs key: ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }} @@ -545,7 +564,7 @@ jobs: issues: write steps: - name: Setup Scripts - uses: github/gh-aw-actions/setup@v0.81.3 + uses: github/gh-aw-actions/setup@v0.83.1 with: destination: ${{ runner.temp }}/gh-aw/actions @@ -582,7 +601,7 @@ jobs: persist-credentials: false - name: Setup Scripts - uses: github/gh-aw-actions/setup@v0.81.3 + uses: github/gh-aw-actions/setup@v0.83.1 with: destination: ${{ runner.temp }}/gh-aw/actions @@ -597,9 +616,9 @@ jobs: await main(); - name: Install gh-aw - uses: github/gh-aw-actions/setup-cli@v0.81.3 + uses: github/gh-aw-actions/setup-cli@v0.83.1 with: - version: v0.81.3 + version: v0.83.1 - name: Validate workflows and file issue on findings uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0