Bläddra i källkod

chore(workflow): Bump github agentic workflow from v0.77.5 to v0.79.4

Neptine 5 månader sedan
förälder
incheckning
d98f6af609

+ 3 - 3
.github/ISSUE_TEMPLATE/bug_report.yaml

@@ -47,7 +47,7 @@ body:
     id: logs
     attributes:
       label: 相关 Logs
-      description: 请复制并粘贴任何相关的日志输出。
+      description: 请复制并粘贴任何相关的日志输出,最好以文本的形式,而不是贴图。
       render: Text
     validations:
       required: false
@@ -56,8 +56,8 @@ body:
     attributes:
       label: 报错时游戏的截图/别的截图
       description: |
-        如果有,添加屏幕截图以帮助解释你的问题。
-        游戏截图可以在游戏安装目录的文件夹 logs/error/{一堆日期数字}/ 里面找到,要求1280x720分辨率。
+        如果有,添加异常截图以帮助解释你的问题。
+        游戏截图可以在OAS安装目录的文件夹 logs/error/{日期数字}/ 里面找到,要求1280x720分辨率。
         提示: 可以通过点击这个区域,然后把文件拖进来添加图片或日志文件。
     validations:
       required: false

+ 9 - 9
.github/aw/actions-lock.json

@@ -1,19 +1,19 @@
 {
   "entries": {
-    "actions/github-script@v9.0.0": {
+    "actions/github-script@v9": {
       "repo": "actions/github-script",
-      "version": "v9.0.0",
-      "sha": "3a2844b7e9c422d3c10d287c895573f7108da1b3"
+      "version": "v9",
+      "sha": "373c709c69115d41ff229c7e5df9f8788daa9553"
     },
-    "github/gh-aw-actions/setup-cli@v0.77.5": {
+    "github/gh-aw-actions/setup-cli@v0.79.4": {
       "repo": "github/gh-aw-actions/setup-cli",
-      "version": "v0.77.5",
-      "sha": "3ea13c02d765410340d533515cb31a7eef2baaf0"
+      "version": "v0.79.4",
+      "sha": "7cfd95b59ca996b7e2bebd6222e21ddd187a4e91"
     },
-    "github/gh-aw-actions/setup@v0.77.5": {
+    "github/gh-aw-actions/setup@v0.79.4": {
       "repo": "github/gh-aw-actions/setup",
-      "version": "v0.77.5",
-      "sha": "3ea13c02d765410340d533515cb31a7eef2baaf0"
+      "version": "v0.79.4",
+      "sha": "7cfd95b59ca996b7e2bebd6222e21ddd187a4e91"
     }
   },
   "containers": {

+ 46 - 38
.github/workflows/agentics-maintenance.yml

@@ -12,7 +12,7 @@
 # \  /\  / (_) | | | | ( | | | | (_) \ V  V /\__ \
 #  \/  \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
 #
-# This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.77.5). DO NOT EDIT.
+# This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.79.4). DO NOT EDIT.
 #
 # To regenerate this workflow, run:
 #   gh aw compile
@@ -93,7 +93,7 @@ jobs:
       pull-requests: write
     steps:
       - name: Setup Scripts
-        uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
+        uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
         with:
           destination: ${{ runner.temp }}/gh-aw/actions
 
@@ -131,7 +131,7 @@ jobs:
       actions: write
     steps:
       - name: Setup Scripts
-        uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
+        uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
         with:
           destination: ${{ runner.temp }}/gh-aw/actions
 
@@ -155,12 +155,12 @@ jobs:
       operation: ${{ steps.record.outputs.operation }}
     steps:
       - name: Checkout repository
-        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+        uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
         with:
           persist-credentials: false
 
       - name: Setup Scripts
-        uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
+        uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
         with:
           destination: ${{ runner.temp }}/gh-aw/actions
 
@@ -175,9 +175,9 @@ jobs:
             await main();
 
       - name: Install gh-aw
-        uses: github/gh-aw-actions/setup-cli@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
+        uses: github/gh-aw-actions/setup-cli@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
         with:
-          version: v0.77.5
+          version: v0.79.4
 
       - name: Run operation
         uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -205,7 +205,7 @@ jobs:
       pull-requests: write
     steps:
       - name: Setup Scripts
-        uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
+        uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
         with:
           destination: ${{ runner.temp }}/gh-aw/actions
 
@@ -244,14 +244,14 @@ jobs:
       run_url: ${{ steps.record.outputs.run_url }}
     steps:
       - name: Checkout actions folder
-        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+        uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
         with:
           sparse-checkout: |
             actions
           persist-credentials: false
 
       - name: Setup Scripts
-        uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
+        uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
         with:
           destination: ${{ runner.temp }}/gh-aw/actions
 
@@ -290,12 +290,12 @@ jobs:
       issues: write
     steps:
       - name: Checkout repository
-        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+        uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
         with:
           persist-credentials: false
 
       - name: Setup Scripts
-        uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
+        uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
         with:
           destination: ${{ runner.temp }}/gh-aw/actions
 
@@ -310,9 +310,9 @@ jobs:
             await main();
 
       - name: Install gh-aw
-        uses: github/gh-aw-actions/setup-cli@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
+        uses: github/gh-aw-actions/setup-cli@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
         with:
-          version: v0.77.5
+          version: v0.79.4
 
       - name: Create missing labels
         uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -336,12 +336,12 @@ jobs:
       issues: write
     steps:
       - name: Checkout repository
-        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+        uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
         with:
           persist-credentials: false
 
       - name: Setup Scripts
-        uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
+        uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
         with:
           destination: ${{ runner.temp }}/gh-aw/actions
 
@@ -356,9 +356,9 @@ jobs:
             await main();
 
       - name: Install gh-aw
-        uses: github/gh-aw-actions/setup-cli@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
+        uses: github/gh-aw-actions/setup-cli@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
         with:
-          version: v0.77.5
+          version: v0.79.4
 
       - name: Restore activity report logs cache
         id: activity_report_logs_cache
@@ -441,12 +441,12 @@ jobs:
       issues: write
     steps:
       - name: Checkout repository
-        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+        uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
         with:
           persist-credentials: false
 
       - name: Setup Scripts
-        uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
+        uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
         with:
           destination: ${{ runner.temp }}/gh-aw/actions
 
@@ -461,15 +461,15 @@ jobs:
             await main();
 
       - name: Install gh-aw
-        uses: github/gh-aw-actions/setup-cli@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
+        uses: github/gh-aw-actions/setup-cli@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
         with:
-          version: v0.77.5
+          version: v0.79.4
 
       - name: Restore forecast report logs cache
         id: forecast_report_logs_cache
         uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
         with:
-          path: .github/aw/logs
+          path: ./.github/aw/logs
           key: ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
           restore-keys: |
             ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-
@@ -477,24 +477,21 @@ jobs:
 
       - name: Generate forecast report
         id: generate_forecast_report
+        timeout-minutes: 30
         shell: bash
         env:
           GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          DEBUG: "*"
           GH_AW_CMD_PREFIX: gh aw
         run: |
           mkdir -p ./.cache/gh-aw/forecast
-          ${GH_AW_CMD_PREFIX} logs --repo "${{ github.repository }}" --start-date -30d --count 1500 > /dev/null
-          if ! compgen -G ".github/aw/logs/run-*/run_summary.json" > /dev/null; then
-            echo "::error::Missing run summary cache in .github/aw/logs after gh aw logs warm-up; cannot run forecast."
-            exit 1
-          fi
           set +e
-          ${GH_AW_CMD_PREFIX} forecast --repo "${{ github.repository }}" --timeout 10 --json 2> >(grep -Fv "forecast is an experimental command and may change without notice" >&2) > ./.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=$?
           set -e
           if [ "${forecast_exit_code}" -eq 124 ]; then
-            echo '{"outcome":"timeout","message":"Forecast computation timed out after 10 minutes."}' > ./.cache/gh-aw/forecast/error.json
-            echo "::error::Forecast computation timed out after 10 minutes."
+            echo '{"outcome":"timeout","message":"Forecast computation timed out after 30 minutes."}' > ./.cache/gh-aw/forecast/error.json
+            echo "::error::Forecast computation timed out after 30 minutes."
             exit 1
           fi
           if [ "${forecast_exit_code}" -ne 0 ]; then
@@ -503,12 +500,23 @@ jobs:
             exit 1
           fi
 
+      - name: Debug forecast logs folder
+        if: ${{ always() }}
+        shell: bash
+        run: |
+          if [ ! -d ./.github/aw/logs ]; then
+            echo "Logs directory not found: ./.github/aw/logs"
+            exit 0
+          fi
+          echo "Files under ./.github/aw/logs:"
+          find ./.github/aw/logs -type f | sort
+
       - name: Save forecast report logs cache
         if: ${{ always() }}
         uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
         with:
-          path: .github/aw/logs
-          key: ${{ steps.forecast_report_logs_cache.outputs.cache-primary-key }}
+          path: ./.github/aw/logs
+          key: ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
 
       - name: Generate forecast issue
         if: ${{ always() }}
@@ -530,7 +538,7 @@ jobs:
       issues: write
     steps:
       - name: Setup Scripts
-        uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
+        uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
         with:
           destination: ${{ runner.temp }}/gh-aw/actions
 
@@ -562,12 +570,12 @@ jobs:
       issues: write
     steps:
       - name: Checkout repository
-        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+        uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
         with:
           persist-credentials: false
 
       - name: Setup Scripts
-        uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
+        uses: github/gh-aw-actions/setup@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
         with:
           destination: ${{ runner.temp }}/gh-aw/actions
 
@@ -582,9 +590,9 @@ jobs:
             await main();
 
       - name: Install gh-aw
-        uses: github/gh-aw-actions/setup-cli@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
+        uses: github/gh-aw-actions/setup-cli@7cfd95b59ca996b7e2bebd6222e21ddd187a4e91 # v0.79.4
         with:
-          version: v0.77.5
+          version: v0.79.4
 
       - name: Validate workflows and file issue on findings
         uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 81 - 47
.github/workflows/issue-handle-bug.lock.yml


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 81 - 47
.github/workflows/issue-handle-enhancement.lock.yml


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 81 - 47
.github/workflows/issue-handle-other.lock.yml


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 81 - 47
.github/workflows/issue-handle-question.lock.yml


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 79 - 47
.github/workflows/issue-triage.lock.yml


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 79 - 47
.github/workflows/pr-review-checklist.lock.yml


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 79 - 47
.github/workflows/pr-review-intent.lock.yml


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 86 - 49
.github/workflows/weekly-report.lock.yml


+ 1 - 2
.github/workflows/weekly-report.md

@@ -2,8 +2,7 @@
 name: "Weekly Report"
 description: 每周自动生成仓库活动报告,包括 PR/Issue 列表、Changelog、贡献者统计等
 on:
-  schedule:
-    - cron: "0 17 * * 4" # Friday 01:00 Asia/Shanghai == Thursday 17:00 UTC
+  schedule: weekly on thursday
   workflow_dispatch:
 
 permissions:

Vissa filer visades inte eftersom för många filer har ändrats