diff --git a/.github/workflows/ab-testing-advisor.lock.yml b/.github/workflows/ab-testing-advisor.lock.yml index ea8012467dc..a633c11f149 100644 --- a/.github/workflows/ab-testing-advisor.lock.yml +++ b/.github/workflows/ab-testing-advisor.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/ace-editor.lock.yml b/.github/workflows/ace-editor.lock.yml index 1a8b02e22dd..449d80f913f 100644 --- a/.github/workflows/ace-editor.lock.yml +++ b/.github/workflows/ace-editor.lock.yml @@ -285,22 +285,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/agent-performance-analyzer.lock.yml b/.github/workflows/agent-performance-analyzer.lock.yml index 5016ebddb31..af0e293dcfc 100644 --- a/.github/workflows/agent-performance-analyzer.lock.yml +++ b/.github/workflows/agent-performance-analyzer.lock.yml @@ -242,22 +242,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/agent-persona-explorer.lock.yml b/.github/workflows/agent-persona-explorer.lock.yml index 843826edb86..e8c6747c8fd 100644 --- a/.github/workflows/agent-persona-explorer.lock.yml +++ b/.github/workflows/agent-persona-explorer.lock.yml @@ -249,22 +249,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/agentic-token-audit.lock.yml b/.github/workflows/agentic-token-audit.lock.yml index b5dd5a86029..d3e06b2690b 100644 --- a/.github/workflows/agentic-token-audit.lock.yml +++ b/.github/workflows/agentic-token-audit.lock.yml @@ -232,22 +232,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/agentic-token-optimizer.lock.yml b/.github/workflows/agentic-token-optimizer.lock.yml index 5d4034324e3..b4e96fb2299 100644 --- a/.github/workflows/agentic-token-optimizer.lock.yml +++ b/.github/workflows/agentic-token-optimizer.lock.yml @@ -228,22 +228,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/agentic-token-trend-audit.lock.yml b/.github/workflows/agentic-token-trend-audit.lock.yml index 96fc3ed62d6..c1c9303ea43 100644 --- a/.github/workflows/agentic-token-trend-audit.lock.yml +++ b/.github/workflows/agentic-token-trend-audit.lock.yml @@ -229,22 +229,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/ai-moderator.lock.yml b/.github/workflows/ai-moderator.lock.yml index 5405511364d..cf1c7bb149f 100644 --- a/.github/workflows/ai-moderator.lock.yml +++ b/.github/workflows/ai-moderator.lock.yml @@ -302,22 +302,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/lock-issue.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/api-consumption-report.lock.yml b/.github/workflows/api-consumption-report.lock.yml index 680a27f6ecb..6ae07ab1bbd 100644 --- a/.github/workflows/api-consumption-report.lock.yml +++ b/.github/workflows/api-consumption-report.lock.yml @@ -253,22 +253,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/approach-validator.lock.yml b/.github/workflows/approach-validator.lock.yml index 3d668782c15..1b59cb91d22 100644 --- a/.github/workflows/approach-validator.lock.yml +++ b/.github/workflows/approach-validator.lock.yml @@ -307,22 +307,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/remove_trigger_label.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/archie.lock.yml b/.github/workflows/archie.lock.yml index c7556f0cf94..42f630c2493 100644 --- a/.github/workflows/archie.lock.yml +++ b/.github/workflows/archie.lock.yml @@ -283,22 +283,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/architecture-guardian.lock.yml b/.github/workflows/architecture-guardian.lock.yml index 237f56b83d3..b874f4b6804 100644 --- a/.github/workflows/architecture-guardian.lock.yml +++ b/.github/workflows/architecture-guardian.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/artifacts-summary.lock.yml b/.github/workflows/artifacts-summary.lock.yml index 29d44e18ac0..68749ef6c12 100644 --- a/.github/workflows/artifacts-summary.lock.yml +++ b/.github/workflows/artifacts-summary.lock.yml @@ -237,22 +237,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/audit-workflows.lock.yml b/.github/workflows/audit-workflows.lock.yml index 8ca6941c3d9..1c32f3faac4 100644 --- a/.github/workflows/audit-workflows.lock.yml +++ b/.github/workflows/audit-workflows.lock.yml @@ -253,22 +253,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/auto-triage-issues.lock.yml b/.github/workflows/auto-triage-issues.lock.yml index f117da4c73e..73c578329a1 100644 --- a/.github/workflows/auto-triage-issues.lock.yml +++ b/.github/workflows/auto-triage-issues.lock.yml @@ -259,22 +259,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/compute_text.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/avenger.lock.yml b/.github/workflows/avenger.lock.yml index 0460b0aacea..2bab4f16ec8 100644 --- a/.github/workflows/avenger.lock.yml +++ b/.github/workflows/avenger.lock.yml @@ -247,22 +247,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/aw-failure-investigator.lock.yml b/.github/workflows/aw-failure-investigator.lock.yml index 1016a82ea0d..4c27922d8af 100644 --- a/.github/workflows/aw-failure-investigator.lock.yml +++ b/.github/workflows/aw-failure-investigator.lock.yml @@ -253,22 +253,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/blog-auditor.lock.yml b/.github/workflows/blog-auditor.lock.yml index 49c6c55e047..3b3682092ef 100644 --- a/.github/workflows/blog-auditor.lock.yml +++ b/.github/workflows/blog-auditor.lock.yml @@ -247,22 +247,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/bot-detection.lock.yml b/.github/workflows/bot-detection.lock.yml index 2c2c8277aa2..94b3d5355a3 100644 --- a/.github/workflows/bot-detection.lock.yml +++ b/.github/workflows/bot-detection.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/brave.lock.yml b/.github/workflows/brave.lock.yml index 7f1ddd40d77..a8e94ce793e 100644 --- a/.github/workflows/brave.lock.yml +++ b/.github/workflows/brave.lock.yml @@ -282,22 +282,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/breaking-change-checker.lock.yml b/.github/workflows/breaking-change-checker.lock.yml index 922b3ba96b7..de11fa66df9 100644 --- a/.github/workflows/breaking-change-checker.lock.yml +++ b/.github/workflows/breaking-change-checker.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/changeset.lock.yml b/.github/workflows/changeset.lock.yml index 4da03636f86..1310763a797 100644 --- a/.github/workflows/changeset.lock.yml +++ b/.github/workflows/changeset.lock.yml @@ -288,22 +288,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/compute_text.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml b/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml index 58f0e1aede4..a5d6f4448ad 100644 --- a/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml +++ b/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/ci-coach.lock.yml b/.github/workflows/ci-coach.lock.yml index 6f1d4773e49..eccad73f27b 100644 --- a/.github/workflows/ci-coach.lock.yml +++ b/.github/workflows/ci-coach.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.yml index f54f1327473..828779df229 100644 --- a/.github/workflows/ci-doctor.lock.yml +++ b/.github/workflows/ci-doctor.lock.yml @@ -297,22 +297,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/remove_trigger_label.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/claude-code-user-docs-review.lock.yml b/.github/workflows/claude-code-user-docs-review.lock.yml index f21617288bc..15ee78c7f52 100644 --- a/.github/workflows/claude-code-user-docs-review.lock.yml +++ b/.github/workflows/claude-code-user-docs-review.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/cli-consistency-checker.lock.yml b/.github/workflows/cli-consistency-checker.lock.yml index c875e13dc45..5c02ee72025 100644 --- a/.github/workflows/cli-consistency-checker.lock.yml +++ b/.github/workflows/cli-consistency-checker.lock.yml @@ -234,22 +234,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/cli-version-checker.lock.yml b/.github/workflows/cli-version-checker.lock.yml index d6fba71b22f..f41f20b5209 100644 --- a/.github/workflows/cli-version-checker.lock.yml +++ b/.github/workflows/cli-version-checker.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/cloclo.lock.yml b/.github/workflows/cloclo.lock.yml index 70d08cdd955..c00ad7324ce 100644 --- a/.github/workflows/cloclo.lock.yml +++ b/.github/workflows/cloclo.lock.yml @@ -314,22 +314,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/remove_trigger_label.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/code-scanning-fixer.lock.yml b/.github/workflows/code-scanning-fixer.lock.yml index 36c3bf3004b..c844dcb3469 100644 --- a/.github/workflows/code-scanning-fixer.lock.yml +++ b/.github/workflows/code-scanning-fixer.lock.yml @@ -245,22 +245,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/code-simplifier.lock.yml b/.github/workflows/code-simplifier.lock.yml index b66cde42acd..d5261aefd3f 100644 --- a/.github/workflows/code-simplifier.lock.yml +++ b/.github/workflows/code-simplifier.lock.yml @@ -253,22 +253,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/codex-github-remote-mcp-test.lock.yml b/.github/workflows/codex-github-remote-mcp-test.lock.yml index ea38231a24c..f2ea9c5d80b 100644 --- a/.github/workflows/codex-github-remote-mcp-test.lock.yml +++ b/.github/workflows/codex-github-remote-mcp-test.lock.yml @@ -240,22 +240,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/commit-changes-analyzer.lock.yml b/.github/workflows/commit-changes-analyzer.lock.yml index 300326a30f8..f6af75d72ed 100644 --- a/.github/workflows/commit-changes-analyzer.lock.yml +++ b/.github/workflows/commit-changes-analyzer.lock.yml @@ -245,22 +245,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/constraint-solving-potd.lock.yml b/.github/workflows/constraint-solving-potd.lock.yml index b76ffcb9b49..194167c5735 100644 --- a/.github/workflows/constraint-solving-potd.lock.yml +++ b/.github/workflows/constraint-solving-potd.lock.yml @@ -240,22 +240,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/contribution-check.lock.yml b/.github/workflows/contribution-check.lock.yml index ff82946a7d5..90864551585 100644 --- a/.github/workflows/contribution-check.lock.yml +++ b/.github/workflows/contribution-check.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/copilot-agent-analysis.lock.yml b/.github/workflows/copilot-agent-analysis.lock.yml index 089a08d418d..48cfb48e943 100644 --- a/.github/workflows/copilot-agent-analysis.lock.yml +++ b/.github/workflows/copilot-agent-analysis.lock.yml @@ -252,22 +252,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/copilot-centralization-drilldown.lock.yml b/.github/workflows/copilot-centralization-drilldown.lock.yml index 44af5921189..dbebe3c56d1 100644 --- a/.github/workflows/copilot-centralization-drilldown.lock.yml +++ b/.github/workflows/copilot-centralization-drilldown.lock.yml @@ -233,22 +233,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/copilot-centralization-optimizer.lock.yml b/.github/workflows/copilot-centralization-optimizer.lock.yml index ee745a76c78..64356f9bfe4 100644 --- a/.github/workflows/copilot-centralization-optimizer.lock.yml +++ b/.github/workflows/copilot-centralization-optimizer.lock.yml @@ -217,22 +217,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/copilot-cli-deep-research.lock.yml b/.github/workflows/copilot-cli-deep-research.lock.yml index 45d0db39fc5..80c48396be7 100644 --- a/.github/workflows/copilot-cli-deep-research.lock.yml +++ b/.github/workflows/copilot-cli-deep-research.lock.yml @@ -236,22 +236,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/copilot-opt.lock.yml b/.github/workflows/copilot-opt.lock.yml index c4c84042b6a..e0a932e689b 100644 --- a/.github/workflows/copilot-opt.lock.yml +++ b/.github/workflows/copilot-opt.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/copilot-pr-merged-report.lock.yml b/.github/workflows/copilot-pr-merged-report.lock.yml index a0f355d1548..ca63a8a9ecc 100644 --- a/.github/workflows/copilot-pr-merged-report.lock.yml +++ b/.github/workflows/copilot-pr-merged-report.lock.yml @@ -239,22 +239,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/copilot-pr-nlp-analysis.lock.yml b/.github/workflows/copilot-pr-nlp-analysis.lock.yml index 346b7f84760..07dc9d0c215 100644 --- a/.github/workflows/copilot-pr-nlp-analysis.lock.yml +++ b/.github/workflows/copilot-pr-nlp-analysis.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/copilot-pr-prompt-analysis.lock.yml b/.github/workflows/copilot-pr-prompt-analysis.lock.yml index 16d93753756..042a619a042 100644 --- a/.github/workflows/copilot-pr-prompt-analysis.lock.yml +++ b/.github/workflows/copilot-pr-prompt-analysis.lock.yml @@ -241,22 +241,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/copilot-session-insights.lock.yml b/.github/workflows/copilot-session-insights.lock.yml index eb5e691223a..44f41741d0f 100644 --- a/.github/workflows/copilot-session-insights.lock.yml +++ b/.github/workflows/copilot-session-insights.lock.yml @@ -253,22 +253,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/craft.lock.yml b/.github/workflows/craft.lock.yml index 70f0fcdbac8..9f08e4fa8bb 100644 --- a/.github/workflows/craft.lock.yml +++ b/.github/workflows/craft.lock.yml @@ -280,22 +280,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml b/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml index 08935e5f303..fd8644e5608 100644 --- a/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml +++ b/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml @@ -252,22 +252,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-agentrx-trace-optimizer.lock.yml b/.github/workflows/daily-agentrx-trace-optimizer.lock.yml index f1b91636d08..82423324f7f 100644 --- a/.github/workflows/daily-agentrx-trace-optimizer.lock.yml +++ b/.github/workflows/daily-agentrx-trace-optimizer.lock.yml @@ -250,22 +250,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-ambient-context-optimizer.lock.yml b/.github/workflows/daily-ambient-context-optimizer.lock.yml index 3725c3dc17b..2103e2ac01e 100644 --- a/.github/workflows/daily-ambient-context-optimizer.lock.yml +++ b/.github/workflows/daily-ambient-context-optimizer.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-architecture-diagram.lock.yml b/.github/workflows/daily-architecture-diagram.lock.yml index d4103d05376..00df0a3bf47 100644 --- a/.github/workflows/daily-architecture-diagram.lock.yml +++ b/.github/workflows/daily-architecture-diagram.lock.yml @@ -240,22 +240,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-assign-issue-to-user.lock.yml b/.github/workflows/daily-assign-issue-to-user.lock.yml index faa5ce1bb94..1f4bf10aecb 100644 --- a/.github/workflows/daily-assign-issue-to-user.lock.yml +++ b/.github/workflows/daily-assign-issue-to-user.lock.yml @@ -234,22 +234,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml b/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml index 933f0b4ed6b..609f4137948 100644 --- a/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml +++ b/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml @@ -245,22 +245,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml b/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml index 99339625b28..67ac4012d60 100644 --- a/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml +++ b/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml b/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml index df12bdc65ad..e8bede4e201 100644 --- a/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml +++ b/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-byok-ollama-test.lock.yml b/.github/workflows/daily-byok-ollama-test.lock.yml index 01372efd3f4..fa483d71c8d 100644 --- a/.github/workflows/daily-byok-ollama-test.lock.yml +++ b/.github/workflows/daily-byok-ollama-test.lock.yml @@ -217,22 +217,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-cache-strategy-analyzer.lock.yml b/.github/workflows/daily-cache-strategy-analyzer.lock.yml index 87ddee330e0..a35264c19df 100644 --- a/.github/workflows/daily-cache-strategy-analyzer.lock.yml +++ b/.github/workflows/daily-cache-strategy-analyzer.lock.yml @@ -253,22 +253,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-caveman-optimizer.lock.yml b/.github/workflows/daily-caveman-optimizer.lock.yml index 6b54851f0ae..fc2aa64f5c2 100644 --- a/.github/workflows/daily-caveman-optimizer.lock.yml +++ b/.github/workflows/daily-caveman-optimizer.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-choice-test.lock.yml b/.github/workflows/daily-choice-test.lock.yml index 05b72bdb62c..cbdc9222e90 100644 --- a/.github/workflows/daily-choice-test.lock.yml +++ b/.github/workflows/daily-choice-test.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-cli-performance.lock.yml b/.github/workflows/daily-cli-performance.lock.yml index 0b56bf1ace6..b1390151372 100644 --- a/.github/workflows/daily-cli-performance.lock.yml +++ b/.github/workflows/daily-cli-performance.lock.yml @@ -268,22 +268,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-cli-tools-tester.lock.yml b/.github/workflows/daily-cli-tools-tester.lock.yml index bb15e31b950..5fddb6c72c1 100644 --- a/.github/workflows/daily-cli-tools-tester.lock.yml +++ b/.github/workflows/daily-cli-tools-tester.lock.yml @@ -247,22 +247,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-code-metrics.lock.yml b/.github/workflows/daily-code-metrics.lock.yml index ea5a08d54d3..8c1893cceb9 100644 --- a/.github/workflows/daily-code-metrics.lock.yml +++ b/.github/workflows/daily-code-metrics.lock.yml @@ -251,22 +251,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-community-attribution.lock.yml b/.github/workflows/daily-community-attribution.lock.yml index 0b9a2f7bb42..e8aca42abb3 100644 --- a/.github/workflows/daily-community-attribution.lock.yml +++ b/.github/workflows/daily-community-attribution.lock.yml @@ -247,22 +247,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-compiler-quality.lock.yml b/.github/workflows/daily-compiler-quality.lock.yml index 5b457f71415..bff67b76eae 100644 --- a/.github/workflows/daily-compiler-quality.lock.yml +++ b/.github/workflows/daily-compiler-quality.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml b/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml index 074ac7513c8..1300fb644d1 100644 --- a/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml +++ b/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-credit-limit-test.lock.yml b/.github/workflows/daily-credit-limit-test.lock.yml index 45bef8d0090..af71b6661b2 100644 --- a/.github/workflows/daily-credit-limit-test.lock.yml +++ b/.github/workflows/daily-credit-limit-test.lock.yml @@ -223,22 +223,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-doc-healer.lock.yml b/.github/workflows/daily-doc-healer.lock.yml index 0c718b7f549..8370a7d2e57 100644 --- a/.github/workflows/daily-doc-healer.lock.yml +++ b/.github/workflows/daily-doc-healer.lock.yml @@ -250,22 +250,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-doc-updater.lock.yml b/.github/workflows/daily-doc-updater.lock.yml index 25b8246c3cd..500de96020d 100644 --- a/.github/workflows/daily-doc-updater.lock.yml +++ b/.github/workflows/daily-doc-updater.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-experiment-report.lock.yml b/.github/workflows/daily-experiment-report.lock.yml index 594720c1161..c3907b6c2e4 100644 --- a/.github/workflows/daily-experiment-report.lock.yml +++ b/.github/workflows/daily-experiment-report.lock.yml @@ -240,22 +240,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-fact.lock.yml b/.github/workflows/daily-fact.lock.yml index ae392630a97..1a405892cc9 100644 --- a/.github/workflows/daily-fact.lock.yml +++ b/.github/workflows/daily-fact.lock.yml @@ -251,22 +251,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-file-diet.lock.yml b/.github/workflows/daily-file-diet.lock.yml index e9895300751..2570cc56275 100644 --- a/.github/workflows/daily-file-diet.lock.yml +++ b/.github/workflows/daily-file-diet.lock.yml @@ -248,22 +248,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-firewall-report.lock.yml b/.github/workflows/daily-firewall-report.lock.yml index cedf1ec3cc4..f7827c96da4 100644 --- a/.github/workflows/daily-firewall-report.lock.yml +++ b/.github/workflows/daily-firewall-report.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-formal-spec-verifier.lock.yml b/.github/workflows/daily-formal-spec-verifier.lock.yml index 0d9fd64a5fe..e510afb42b2 100644 --- a/.github/workflows/daily-formal-spec-verifier.lock.yml +++ b/.github/workflows/daily-formal-spec-verifier.lock.yml @@ -239,22 +239,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-function-namer.lock.yml b/.github/workflows/daily-function-namer.lock.yml index 7ba46ae5347..998c2017ae6 100644 --- a/.github/workflows/daily-function-namer.lock.yml +++ b/.github/workflows/daily-function-namer.lock.yml @@ -249,22 +249,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-geo-optimizer.lock.yml b/.github/workflows/daily-geo-optimizer.lock.yml index dfe4e64023b..8870a21065d 100644 --- a/.github/workflows/daily-geo-optimizer.lock.yml +++ b/.github/workflows/daily-geo-optimizer.lock.yml @@ -239,22 +239,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-hippo-learn.lock.yml b/.github/workflows/daily-hippo-learn.lock.yml index 26b339e98c1..fd8d22b2b97 100644 --- a/.github/workflows/daily-hippo-learn.lock.yml +++ b/.github/workflows/daily-hippo-learn.lock.yml @@ -238,22 +238,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-issues-report.lock.yml b/.github/workflows/daily-issues-report.lock.yml index 07a91cde898..6c936c0941a 100644 --- a/.github/workflows/daily-issues-report.lock.yml +++ b/.github/workflows/daily-issues-report.lock.yml @@ -254,22 +254,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-malicious-code-scan.lock.yml b/.github/workflows/daily-malicious-code-scan.lock.yml index 488a33af939..edecfcf076e 100644 --- a/.github/workflows/daily-malicious-code-scan.lock.yml +++ b/.github/workflows/daily-malicious-code-scan.lock.yml @@ -239,22 +239,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-max-ai-credits-test.lock.yml b/.github/workflows/daily-max-ai-credits-test.lock.yml index 6366ab1d021..48076aea585 100644 --- a/.github/workflows/daily-max-ai-credits-test.lock.yml +++ b/.github/workflows/daily-max-ai-credits-test.lock.yml @@ -165,22 +165,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-mcp-concurrency-analysis.lock.yml b/.github/workflows/daily-mcp-concurrency-analysis.lock.yml index 7bfde132521..ece82e177e2 100644 --- a/.github/workflows/daily-mcp-concurrency-analysis.lock.yml +++ b/.github/workflows/daily-mcp-concurrency-analysis.lock.yml @@ -242,22 +242,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-model-inventory.lock.yml b/.github/workflows/daily-model-inventory.lock.yml index 7d4946ac804..e7cc8cbd62e 100644 --- a/.github/workflows/daily-model-inventory.lock.yml +++ b/.github/workflows/daily-model-inventory.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-model-resolution.lock.yml b/.github/workflows/daily-model-resolution.lock.yml index 7439b1b0f32..c299ab6f200 100644 --- a/.github/workflows/daily-model-resolution.lock.yml +++ b/.github/workflows/daily-model-resolution.lock.yml @@ -249,22 +249,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-multi-device-docs-tester.lock.yml b/.github/workflows/daily-multi-device-docs-tester.lock.yml index 32b12b37cd7..f298328dbb6 100644 --- a/.github/workflows/daily-multi-device-docs-tester.lock.yml +++ b/.github/workflows/daily-multi-device-docs-tester.lock.yml @@ -250,22 +250,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-news.lock.yml b/.github/workflows/daily-news.lock.yml index fb94e8145b2..d229f2b925b 100644 --- a/.github/workflows/daily-news.lock.yml +++ b/.github/workflows/daily-news.lock.yml @@ -250,22 +250,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-observability-report.lock.yml b/.github/workflows/daily-observability-report.lock.yml index 8bca0557d7e..79514e885b1 100644 --- a/.github/workflows/daily-observability-report.lock.yml +++ b/.github/workflows/daily-observability-report.lock.yml @@ -252,22 +252,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-performance-summary.lock.yml b/.github/workflows/daily-performance-summary.lock.yml index 4835ddd0485..0b802b91fc8 100644 --- a/.github/workflows/daily-performance-summary.lock.yml +++ b/.github/workflows/daily-performance-summary.lock.yml @@ -249,22 +249,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-regulatory.lock.yml b/.github/workflows/daily-regulatory.lock.yml index 0ba9ded9d5f..267bf5eca7a 100644 --- a/.github/workflows/daily-regulatory.lock.yml +++ b/.github/workflows/daily-regulatory.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-reliability-review.lock.yml b/.github/workflows/daily-reliability-review.lock.yml index 39eade258c3..534da5a282f 100644 --- a/.github/workflows/daily-reliability-review.lock.yml +++ b/.github/workflows/daily-reliability-review.lock.yml @@ -247,22 +247,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-rendering-scripts-verifier.lock.yml b/.github/workflows/daily-rendering-scripts-verifier.lock.yml index 09a75543786..3c62ee8b71f 100644 --- a/.github/workflows/daily-rendering-scripts-verifier.lock.yml +++ b/.github/workflows/daily-rendering-scripts-verifier.lock.yml @@ -258,22 +258,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-repo-chronicle.lock.yml b/.github/workflows/daily-repo-chronicle.lock.yml index 04e2c2c356d..8569190ca50 100644 --- a/.github/workflows/daily-repo-chronicle.lock.yml +++ b/.github/workflows/daily-repo-chronicle.lock.yml @@ -241,22 +241,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-safe-output-integrator.lock.yml b/.github/workflows/daily-safe-output-integrator.lock.yml index a7ca26b3f01..ba4521f5e6d 100644 --- a/.github/workflows/daily-safe-output-integrator.lock.yml +++ b/.github/workflows/daily-safe-output-integrator.lock.yml @@ -240,22 +240,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-safe-output-optimizer.lock.yml b/.github/workflows/daily-safe-output-optimizer.lock.yml index 517a1a2578a..b302dacc6cc 100644 --- a/.github/workflows/daily-safe-output-optimizer.lock.yml +++ b/.github/workflows/daily-safe-output-optimizer.lock.yml @@ -258,22 +258,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-safe-outputs-conformance.lock.yml b/.github/workflows/daily-safe-outputs-conformance.lock.yml index 545a73472a9..34f8d9b8904 100644 --- a/.github/workflows/daily-safe-outputs-conformance.lock.yml +++ b/.github/workflows/daily-safe-outputs-conformance.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-safeoutputs-git-simulator.lock.yml b/.github/workflows/daily-safeoutputs-git-simulator.lock.yml index 2a2d74e245a..2eaebbcf9f7 100644 --- a/.github/workflows/daily-safeoutputs-git-simulator.lock.yml +++ b/.github/workflows/daily-safeoutputs-git-simulator.lock.yml @@ -226,22 +226,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-secrets-analysis.lock.yml b/.github/workflows/daily-secrets-analysis.lock.yml index 5421519e5b8..d2fa9478db6 100644 --- a/.github/workflows/daily-secrets-analysis.lock.yml +++ b/.github/workflows/daily-secrets-analysis.lock.yml @@ -239,22 +239,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-security-observability.lock.yml b/.github/workflows/daily-security-observability.lock.yml index 5fdb9af6520..4dccbdfe8fe 100644 --- a/.github/workflows/daily-security-observability.lock.yml +++ b/.github/workflows/daily-security-observability.lock.yml @@ -258,22 +258,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-security-red-team.lock.yml b/.github/workflows/daily-security-red-team.lock.yml index 7dc81b5132f..7bd39c779eb 100644 --- a/.github/workflows/daily-security-red-team.lock.yml +++ b/.github/workflows/daily-security-red-team.lock.yml @@ -249,22 +249,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-semgrep-scan.lock.yml b/.github/workflows/daily-semgrep-scan.lock.yml index 2a2d89660c4..98c2e6232d9 100644 --- a/.github/workflows/daily-semgrep-scan.lock.yml +++ b/.github/workflows/daily-semgrep-scan.lock.yml @@ -241,22 +241,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/daily-sentrux-report.lock.yml b/.github/workflows/daily-sentrux-report.lock.yml index 3c558b153a2..b90a881881e 100644 --- a/.github/workflows/daily-sentrux-report.lock.yml +++ b/.github/workflows/daily-sentrux-report.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-skill-optimizer.lock.yml b/.github/workflows/daily-skill-optimizer.lock.yml index 249108af0f8..53507f8ed9c 100644 --- a/.github/workflows/daily-skill-optimizer.lock.yml +++ b/.github/workflows/daily-skill-optimizer.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-spdd-spec-planner.lock.yml b/.github/workflows/daily-spdd-spec-planner.lock.yml index e03365d33d9..35d2df96b41 100644 --- a/.github/workflows/daily-spdd-spec-planner.lock.yml +++ b/.github/workflows/daily-spdd-spec-planner.lock.yml @@ -240,22 +240,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-syntax-error-quality.lock.yml b/.github/workflows/daily-syntax-error-quality.lock.yml index 004d2f73d9c..fc4011c4034 100644 --- a/.github/workflows/daily-syntax-error-quality.lock.yml +++ b/.github/workflows/daily-syntax-error-quality.lock.yml @@ -236,22 +236,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-team-evolution-insights.lock.yml b/.github/workflows/daily-team-evolution-insights.lock.yml index 6b5eee9cea8..c86cd3f72f9 100644 --- a/.github/workflows/daily-team-evolution-insights.lock.yml +++ b/.github/workflows/daily-team-evolution-insights.lock.yml @@ -245,22 +245,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-team-status.lock.yml b/.github/workflows/daily-team-status.lock.yml index f055466eff1..ca1d6ecc377 100644 --- a/.github/workflows/daily-team-status.lock.yml +++ b/.github/workflows/daily-team-status.lock.yml @@ -231,22 +231,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-testify-uber-super-expert.lock.yml b/.github/workflows/daily-testify-uber-super-expert.lock.yml index 4ac86c83415..b874df59bbb 100644 --- a/.github/workflows/daily-testify-uber-super-expert.lock.yml +++ b/.github/workflows/daily-testify-uber-super-expert.lock.yml @@ -248,22 +248,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-token-consumption-report.lock.yml b/.github/workflows/daily-token-consumption-report.lock.yml index 781da63b64c..563da9df6f8 100644 --- a/.github/workflows/daily-token-consumption-report.lock.yml +++ b/.github/workflows/daily-token-consumption-report.lock.yml @@ -253,22 +253,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-windows-terminal-integration-builder.lock.yml b/.github/workflows/daily-windows-terminal-integration-builder.lock.yml index 8df7d5f8263..a6ede981f14 100644 --- a/.github/workflows/daily-windows-terminal-integration-builder.lock.yml +++ b/.github/workflows/daily-windows-terminal-integration-builder.lock.yml @@ -225,22 +225,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/daily-workflow-updater.lock.yml b/.github/workflows/daily-workflow-updater.lock.yml index 27a57d3445f..9111dda2f80 100644 --- a/.github/workflows/daily-workflow-updater.lock.yml +++ b/.github/workflows/daily-workflow-updater.lock.yml @@ -237,22 +237,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/dataflow-pr-discussion-dataset.lock.yml b/.github/workflows/dataflow-pr-discussion-dataset.lock.yml index 66ceaba74da..7676da718b2 100644 --- a/.github/workflows/dataflow-pr-discussion-dataset.lock.yml +++ b/.github/workflows/dataflow-pr-discussion-dataset.lock.yml @@ -249,22 +249,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/dead-code-remover.lock.yml b/.github/workflows/dead-code-remover.lock.yml index 516fe382aca..38bda187b05 100644 --- a/.github/workflows/dead-code-remover.lock.yml +++ b/.github/workflows/dead-code-remover.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/deep-report.lock.yml b/.github/workflows/deep-report.lock.yml index 5f88d3b4ea0..a5b050fe784 100644 --- a/.github/workflows/deep-report.lock.yml +++ b/.github/workflows/deep-report.lock.yml @@ -255,22 +255,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/delight.lock.yml b/.github/workflows/delight.lock.yml index b8e93b0cb46..6cb3c44f4e5 100644 --- a/.github/workflows/delight.lock.yml +++ b/.github/workflows/delight.lock.yml @@ -240,22 +240,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/dependabot-burner.lock.yml b/.github/workflows/dependabot-burner.lock.yml index 1fa1bc77632..62f04e8a58b 100644 --- a/.github/workflows/dependabot-burner.lock.yml +++ b/.github/workflows/dependabot-burner.lock.yml @@ -306,22 +306,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/dependabot-go-checker.lock.yml b/.github/workflows/dependabot-go-checker.lock.yml index aa01df2fea1..8cd7bf535fa 100644 --- a/.github/workflows/dependabot-go-checker.lock.yml +++ b/.github/workflows/dependabot-go-checker.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/dependabot-repair.lock.yml b/.github/workflows/dependabot-repair.lock.yml index 2e3e30c66a2..964ae7e499a 100644 --- a/.github/workflows/dependabot-repair.lock.yml +++ b/.github/workflows/dependabot-repair.lock.yml @@ -264,22 +264,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/compute_text.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/deployment-incident-monitor.lock.yml b/.github/workflows/deployment-incident-monitor.lock.yml index 94abddf62f2..9646480456c 100644 --- a/.github/workflows/deployment-incident-monitor.lock.yml +++ b/.github/workflows/deployment-incident-monitor.lock.yml @@ -245,22 +245,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/design-decision-gate.lock.yml b/.github/workflows/design-decision-gate.lock.yml index 0321dc40011..bcf69828163 100644 --- a/.github/workflows/design-decision-gate.lock.yml +++ b/.github/workflows/design-decision-gate.lock.yml @@ -302,22 +302,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/designer-drift-audit.lock.yml b/.github/workflows/designer-drift-audit.lock.yml index bac25934a6a..cf7b2c04147 100644 --- a/.github/workflows/designer-drift-audit.lock.yml +++ b/.github/workflows/designer-drift-audit.lock.yml @@ -225,22 +225,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/dev-hawk.lock.yml b/.github/workflows/dev-hawk.lock.yml index bfc59e6309e..c8e507c56c7 100644 --- a/.github/workflows/dev-hawk.lock.yml +++ b/.github/workflows/dev-hawk.lock.yml @@ -247,22 +247,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/dev.lock.yml b/.github/workflows/dev.lock.yml index 40658cfaa6f..d9438734622 100644 --- a/.github/workflows/dev.lock.yml +++ b/.github/workflows/dev.lock.yml @@ -299,22 +299,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/remove_trigger_label.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/developer-docs-consolidator.lock.yml b/.github/workflows/developer-docs-consolidator.lock.yml index db528aa06f0..5104d57f1bc 100644 --- a/.github/workflows/developer-docs-consolidator.lock.yml +++ b/.github/workflows/developer-docs-consolidator.lock.yml @@ -250,22 +250,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/dictation-prompt.lock.yml b/.github/workflows/dictation-prompt.lock.yml index 551e9d26781..08cd5167b6f 100644 --- a/.github/workflows/dictation-prompt.lock.yml +++ b/.github/workflows/dictation-prompt.lock.yml @@ -238,22 +238,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/discussion-task-miner.lock.yml b/.github/workflows/discussion-task-miner.lock.yml index 0b81d869056..a3b73e49b91 100644 --- a/.github/workflows/discussion-task-miner.lock.yml +++ b/.github/workflows/discussion-task-miner.lock.yml @@ -239,22 +239,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/docs-noob-tester.lock.yml b/.github/workflows/docs-noob-tester.lock.yml index 511f37fdd8b..8894061b7c2 100644 --- a/.github/workflows/docs-noob-tester.lock.yml +++ b/.github/workflows/docs-noob-tester.lock.yml @@ -240,22 +240,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/draft-pr-cleanup.lock.yml b/.github/workflows/draft-pr-cleanup.lock.yml index 544b7d49181..6439a8ef539 100644 --- a/.github/workflows/draft-pr-cleanup.lock.yml +++ b/.github/workflows/draft-pr-cleanup.lock.yml @@ -236,22 +236,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/duplicate-code-detector.lock.yml b/.github/workflows/duplicate-code-detector.lock.yml index cab8f9758b3..7bda12e1ad3 100644 --- a/.github/workflows/duplicate-code-detector.lock.yml +++ b/.github/workflows/duplicate-code-detector.lock.yml @@ -250,22 +250,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/example-failure-category-filter.lock.yml b/.github/workflows/example-failure-category-filter.lock.yml index 2e9ad7f08a1..ccda8067b5a 100644 --- a/.github/workflows/example-failure-category-filter.lock.yml +++ b/.github/workflows/example-failure-category-filter.lock.yml @@ -219,22 +219,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/example-permissions-warning.lock.yml b/.github/workflows/example-permissions-warning.lock.yml index 302ffb6dbb6..53b2e9fd1ea 100644 --- a/.github/workflows/example-permissions-warning.lock.yml +++ b/.github/workflows/example-permissions-warning.lock.yml @@ -238,22 +238,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/example-workflow-analyzer.lock.yml b/.github/workflows/example-workflow-analyzer.lock.yml index 17bfde2dcbe..5bf7f37fee7 100644 --- a/.github/workflows/example-workflow-analyzer.lock.yml +++ b/.github/workflows/example-workflow-analyzer.lock.yml @@ -250,22 +250,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/firewall-escape.lock.yml b/.github/workflows/firewall-escape.lock.yml index 5fd98524c9f..1d2fa05c571 100644 --- a/.github/workflows/firewall-escape.lock.yml +++ b/.github/workflows/firewall-escape.lock.yml @@ -262,22 +262,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/compute_text.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/firewall.lock.yml b/.github/workflows/firewall.lock.yml index 72b9b44133c..db155525e10 100644 --- a/.github/workflows/firewall.lock.yml +++ b/.github/workflows/firewall.lock.yml @@ -238,22 +238,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/functional-pragmatist.lock.yml b/.github/workflows/functional-pragmatist.lock.yml index 9ed1199a481..cabdc03f1d6 100644 --- a/.github/workflows/functional-pragmatist.lock.yml +++ b/.github/workflows/functional-pragmatist.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/github-mcp-structural-analysis.lock.yml b/.github/workflows/github-mcp-structural-analysis.lock.yml index 784bb838f3b..a7d686115f8 100644 --- a/.github/workflows/github-mcp-structural-analysis.lock.yml +++ b/.github/workflows/github-mcp-structural-analysis.lock.yml @@ -247,22 +247,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/github-mcp-tools-report.lock.yml b/.github/workflows/github-mcp-tools-report.lock.yml index a4c91610381..2a63f50ffa2 100644 --- a/.github/workflows/github-mcp-tools-report.lock.yml +++ b/.github/workflows/github-mcp-tools-report.lock.yml @@ -245,22 +245,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/github-remote-mcp-auth-test.lock.yml b/.github/workflows/github-remote-mcp-auth-test.lock.yml index 0dce6f10e58..7187e946fa4 100644 --- a/.github/workflows/github-remote-mcp-auth-test.lock.yml +++ b/.github/workflows/github-remote-mcp-auth-test.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/glossary-maintainer.lock.yml b/.github/workflows/glossary-maintainer.lock.yml index 53218ce8534..f251294d0a6 100644 --- a/.github/workflows/glossary-maintainer.lock.yml +++ b/.github/workflows/glossary-maintainer.lock.yml @@ -249,22 +249,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/go-fan.lock.yml b/.github/workflows/go-fan.lock.yml index d6d0bbf9f61..76a50dfe933 100644 --- a/.github/workflows/go-fan.lock.yml +++ b/.github/workflows/go-fan.lock.yml @@ -250,22 +250,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/go-logger.lock.yml b/.github/workflows/go-logger.lock.yml index 356b67f2aa2..44fb9020e8b 100644 --- a/.github/workflows/go-logger.lock.yml +++ b/.github/workflows/go-logger.lock.yml @@ -245,22 +245,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/go-pattern-detector.lock.yml b/.github/workflows/go-pattern-detector.lock.yml index 29c04d3e9d5..d6892646b2f 100644 --- a/.github/workflows/go-pattern-detector.lock.yml +++ b/.github/workflows/go-pattern-detector.lock.yml @@ -245,22 +245,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/gpclean.lock.yml b/.github/workflows/gpclean.lock.yml index 7f46fe0d8a2..d6dcfb19610 100644 --- a/.github/workflows/gpclean.lock.yml +++ b/.github/workflows/gpclean.lock.yml @@ -245,22 +245,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/grumpy-reviewer.lock.yml b/.github/workflows/grumpy-reviewer.lock.yml index 6348f03b868..f87cc1e8f2e 100644 --- a/.github/workflows/grumpy-reviewer.lock.yml +++ b/.github/workflows/grumpy-reviewer.lock.yml @@ -291,22 +291,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/hippo-embed.lock.yml b/.github/workflows/hippo-embed.lock.yml index 4a3a274af31..3ccf1293fcc 100644 --- a/.github/workflows/hippo-embed.lock.yml +++ b/.github/workflows/hippo-embed.lock.yml @@ -237,22 +237,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/hourly-ci-cleaner.lock.yml b/.github/workflows/hourly-ci-cleaner.lock.yml index 5a11cf74425..4c1f0abc0b1 100644 --- a/.github/workflows/hourly-ci-cleaner.lock.yml +++ b/.github/workflows/hourly-ci-cleaner.lock.yml @@ -245,22 +245,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/instructions-janitor.lock.yml b/.github/workflows/instructions-janitor.lock.yml index 226e4a2186a..21de4b59d9e 100644 --- a/.github/workflows/instructions-janitor.lock.yml +++ b/.github/workflows/instructions-janitor.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/issue-arborist.lock.yml b/.github/workflows/issue-arborist.lock.yml index 01b74365019..97ae6bf30f7 100644 --- a/.github/workflows/issue-arborist.lock.yml +++ b/.github/workflows/issue-arborist.lock.yml @@ -248,22 +248,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/issue-monster.lock.yml b/.github/workflows/issue-monster.lock.yml index c0150c28b18..10018fd8ae3 100644 --- a/.github/workflows/issue-monster.lock.yml +++ b/.github/workflows/issue-monster.lock.yml @@ -625,22 +625,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/issue-triage-agent.lock.yml b/.github/workflows/issue-triage-agent.lock.yml index 4ceef649643..059c0c6fdd5 100644 --- a/.github/workflows/issue-triage-agent.lock.yml +++ b/.github/workflows/issue-triage-agent.lock.yml @@ -242,22 +242,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/jsweep.lock.yml b/.github/workflows/jsweep.lock.yml index f47bc323e85..61945e5baa6 100644 --- a/.github/workflows/jsweep.lock.yml +++ b/.github/workflows/jsweep.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/layout-spec-maintainer.lock.yml b/.github/workflows/layout-spec-maintainer.lock.yml index 094b40b2476..452e7c5c8cc 100644 --- a/.github/workflows/layout-spec-maintainer.lock.yml +++ b/.github/workflows/layout-spec-maintainer.lock.yml @@ -247,22 +247,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/lint-monster.lock.yml b/.github/workflows/lint-monster.lock.yml index 7ec68c1adcc..9415b862d0a 100644 --- a/.github/workflows/lint-monster.lock.yml +++ b/.github/workflows/lint-monster.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/linter-miner.lock.yml b/.github/workflows/linter-miner.lock.yml index 0ab84dd759f..c181efda38f 100644 --- a/.github/workflows/linter-miner.lock.yml +++ b/.github/workflows/linter-miner.lock.yml @@ -239,22 +239,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/lockfile-stats.lock.yml b/.github/workflows/lockfile-stats.lock.yml index d1ffdb1065a..f258b1c5f8c 100644 --- a/.github/workflows/lockfile-stats.lock.yml +++ b/.github/workflows/lockfile-stats.lock.yml @@ -245,22 +245,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/mattpocock-skills-reviewer.lock.yml b/.github/workflows/mattpocock-skills-reviewer.lock.yml index 37d5d71911f..3ff163c4563 100644 --- a/.github/workflows/mattpocock-skills-reviewer.lock.yml +++ b/.github/workflows/mattpocock-skills-reviewer.lock.yml @@ -287,22 +287,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/mcp-inspector.lock.yml b/.github/workflows/mcp-inspector.lock.yml index b7f3d0b356e..5a666d5025f 100644 --- a/.github/workflows/mcp-inspector.lock.yml +++ b/.github/workflows/mcp-inspector.lock.yml @@ -290,22 +290,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/mergefest.lock.yml b/.github/workflows/mergefest.lock.yml index 8bfbf05bebb..a1d9d063a32 100644 --- a/.github/workflows/mergefest.lock.yml +++ b/.github/workflows/mergefest.lock.yml @@ -288,22 +288,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/metrics-collector.lock.yml b/.github/workflows/metrics-collector.lock.yml index 87c3cc64188..1470535d066 100644 --- a/.github/workflows/metrics-collector.lock.yml +++ b/.github/workflows/metrics-collector.lock.yml @@ -247,22 +247,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/necromancer.lock.yml b/.github/workflows/necromancer.lock.yml index fb57590f353..fd1da645b2f 100644 --- a/.github/workflows/necromancer.lock.yml +++ b/.github/workflows/necromancer.lock.yml @@ -309,22 +309,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/remove_trigger_label.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/notion-issue-summary.lock.yml b/.github/workflows/notion-issue-summary.lock.yml index 00b9413c534..2820083a642 100644 --- a/.github/workflows/notion-issue-summary.lock.yml +++ b/.github/workflows/notion-issue-summary.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/objective-impact-report.lock.yml b/.github/workflows/objective-impact-report.lock.yml index 850dd3b0edb..ff4ecae61a4 100644 --- a/.github/workflows/objective-impact-report.lock.yml +++ b/.github/workflows/objective-impact-report.lock.yml @@ -225,22 +225,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/org-health-report.lock.yml b/.github/workflows/org-health-report.lock.yml index 16b067528af..4560ddfbe9a 100644 --- a/.github/workflows/org-health-report.lock.yml +++ b/.github/workflows/org-health-report.lock.yml @@ -247,22 +247,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/outcome-collector.lock.yml b/.github/workflows/outcome-collector.lock.yml index 1af01f9d22d..60f086d1231 100644 --- a/.github/workflows/outcome-collector.lock.yml +++ b/.github/workflows/outcome-collector.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/pdf-summary.lock.yml b/.github/workflows/pdf-summary.lock.yml index 311e3d12693..67cdd707919 100644 --- a/.github/workflows/pdf-summary.lock.yml +++ b/.github/workflows/pdf-summary.lock.yml @@ -299,22 +299,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/plan.lock.yml b/.github/workflows/plan.lock.yml index d4f99abae5d..e04d28805c9 100644 --- a/.github/workflows/plan.lock.yml +++ b/.github/workflows/plan.lock.yml @@ -287,22 +287,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/poem-bot.lock.yml b/.github/workflows/poem-bot.lock.yml index 985447b13ec..dbe206b7e44 100644 --- a/.github/workflows/poem-bot.lock.yml +++ b/.github/workflows/poem-bot.lock.yml @@ -296,22 +296,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/portfolio-analyst.lock.yml b/.github/workflows/portfolio-analyst.lock.yml index 938232284fa..d658005de6f 100644 --- a/.github/workflows/portfolio-analyst.lock.yml +++ b/.github/workflows/portfolio-analyst.lock.yml @@ -237,22 +237,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/pr-code-quality-reviewer.lock.yml b/.github/workflows/pr-code-quality-reviewer.lock.yml index 2501bcf47d8..16ece9c5b38 100644 --- a/.github/workflows/pr-code-quality-reviewer.lock.yml +++ b/.github/workflows/pr-code-quality-reviewer.lock.yml @@ -287,22 +287,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/pr-description-caveman.lock.yml b/.github/workflows/pr-description-caveman.lock.yml index 4dc99015c65..de362caf25c 100644 --- a/.github/workflows/pr-description-caveman.lock.yml +++ b/.github/workflows/pr-description-caveman.lock.yml @@ -238,22 +238,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/compute_text.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/pr-nitpick-reviewer.lock.yml b/.github/workflows/pr-nitpick-reviewer.lock.yml index 23bd4acce5e..c3355387745 100644 --- a/.github/workflows/pr-nitpick-reviewer.lock.yml +++ b/.github/workflows/pr-nitpick-reviewer.lock.yml @@ -290,22 +290,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/pr-sous-chef.lock.yml b/.github/workflows/pr-sous-chef.lock.yml index 74f9d736b9c..e0a66e53e05 100644 --- a/.github/workflows/pr-sous-chef.lock.yml +++ b/.github/workflows/pr-sous-chef.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/pr-triage-agent.lock.yml b/.github/workflows/pr-triage-agent.lock.yml index 5161bd3d1dc..1f71f4b639e 100644 --- a/.github/workflows/pr-triage-agent.lock.yml +++ b/.github/workflows/pr-triage-agent.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/prompt-clustering-analysis.lock.yml b/.github/workflows/prompt-clustering-analysis.lock.yml index bfe12cf99b7..7792b969085 100644 --- a/.github/workflows/prompt-clustering-analysis.lock.yml +++ b/.github/workflows/prompt-clustering-analysis.lock.yml @@ -259,22 +259,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/python-data-charts.lock.yml b/.github/workflows/python-data-charts.lock.yml index c49755d4cc8..37b582fa99e 100644 --- a/.github/workflows/python-data-charts.lock.yml +++ b/.github/workflows/python-data-charts.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/q.lock.yml b/.github/workflows/q.lock.yml index fff939478c4..f7228b22890 100644 --- a/.github/workflows/q.lock.yml +++ b/.github/workflows/q.lock.yml @@ -315,22 +315,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/refactoring-cadence.lock.yml b/.github/workflows/refactoring-cadence.lock.yml index 71e99535375..0d414122df6 100644 --- a/.github/workflows/refactoring-cadence.lock.yml +++ b/.github/workflows/refactoring-cadence.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/refiner.lock.yml b/.github/workflows/refiner.lock.yml index 80804a9501a..7287ad14264 100644 --- a/.github/workflows/refiner.lock.yml +++ b/.github/workflows/refiner.lock.yml @@ -274,22 +274,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/compute_text.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/release.lock.yml b/.github/workflows/release.lock.yml index a08b444abd8..b5451c78169 100644 --- a/.github/workflows/release.lock.yml +++ b/.github/workflows/release.lock.yml @@ -261,22 +261,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/repo-audit-analyzer.lock.yml b/.github/workflows/repo-audit-analyzer.lock.yml index ba5758a1155..54287c36c15 100644 --- a/.github/workflows/repo-audit-analyzer.lock.yml +++ b/.github/workflows/repo-audit-analyzer.lock.yml @@ -247,22 +247,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/repo-tree-map.lock.yml b/.github/workflows/repo-tree-map.lock.yml index 1fb22a1ec48..9f3073f86a3 100644 --- a/.github/workflows/repo-tree-map.lock.yml +++ b/.github/workflows/repo-tree-map.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/repository-quality-improver.lock.yml b/.github/workflows/repository-quality-improver.lock.yml index b3fbfcf3d41..c0b95a39db2 100644 --- a/.github/workflows/repository-quality-improver.lock.yml +++ b/.github/workflows/repository-quality-improver.lock.yml @@ -252,22 +252,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/research.lock.yml b/.github/workflows/research.lock.yml index fe844da21f7..9789fecbb10 100644 --- a/.github/workflows/research.lock.yml +++ b/.github/workflows/research.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/ruflo-backed-task.lock.yml b/.github/workflows/ruflo-backed-task.lock.yml index b10f3836597..d5921e255bf 100644 --- a/.github/workflows/ruflo-backed-task.lock.yml +++ b/.github/workflows/ruflo-backed-task.lock.yml @@ -275,22 +275,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/safe-output-health.lock.yml b/.github/workflows/safe-output-health.lock.yml index d59a55b4206..2317d377242 100644 --- a/.github/workflows/safe-output-health.lock.yml +++ b/.github/workflows/safe-output-health.lock.yml @@ -250,22 +250,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/schema-consistency-checker.lock.yml b/.github/workflows/schema-consistency-checker.lock.yml index e8f609506d3..451ff4cb820 100644 --- a/.github/workflows/schema-consistency-checker.lock.yml +++ b/.github/workflows/schema-consistency-checker.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/schema-feature-coverage.lock.yml b/.github/workflows/schema-feature-coverage.lock.yml index 2c233283e95..e1adb01f2a3 100644 --- a/.github/workflows/schema-feature-coverage.lock.yml +++ b/.github/workflows/schema-feature-coverage.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/scout.lock.yml b/.github/workflows/scout.lock.yml index e94892c7d29..29d12ba1dfd 100644 --- a/.github/workflows/scout.lock.yml +++ b/.github/workflows/scout.lock.yml @@ -312,22 +312,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/security-compliance.lock.yml b/.github/workflows/security-compliance.lock.yml index 53d47e65aa2..ea6f08f8347 100644 --- a/.github/workflows/security-compliance.lock.yml +++ b/.github/workflows/security-compliance.lock.yml @@ -251,22 +251,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/security-review.lock.yml b/.github/workflows/security-review.lock.yml index 4ecde8d9be5..4ec1f3bde4a 100644 --- a/.github/workflows/security-review.lock.yml +++ b/.github/workflows/security-review.lock.yml @@ -286,22 +286,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/semantic-function-refactor.lock.yml b/.github/workflows/semantic-function-refactor.lock.yml index 49a6955720d..135df6bf6f3 100644 --- a/.github/workflows/semantic-function-refactor.lock.yml +++ b/.github/workflows/semantic-function-refactor.lock.yml @@ -248,22 +248,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/sergo.lock.yml b/.github/workflows/sergo.lock.yml index f565faa8186..7bcb25a8c57 100644 --- a/.github/workflows/sergo.lock.yml +++ b/.github/workflows/sergo.lock.yml @@ -249,22 +249,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/skillet.lock.yml b/.github/workflows/skillet.lock.yml index 8a01c310b2b..7a25439bf75 100644 --- a/.github/workflows/skillet.lock.yml +++ b/.github/workflows/skillet.lock.yml @@ -290,22 +290,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/slide-deck-maintainer.lock.yml b/.github/workflows/slide-deck-maintainer.lock.yml index 48292265c87..c998c2009e9 100644 --- a/.github/workflows/slide-deck-maintainer.lock.yml +++ b/.github/workflows/slide-deck-maintainer.lock.yml @@ -255,22 +255,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-agent-all-merged.lock.yml b/.github/workflows/smoke-agent-all-merged.lock.yml index 74a913569c2..ec89597a7d4 100644 --- a/.github/workflows/smoke-agent-all-merged.lock.yml +++ b/.github/workflows/smoke-agent-all-merged.lock.yml @@ -293,22 +293,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-agent-all-none.lock.yml b/.github/workflows/smoke-agent-all-none.lock.yml index e9bd9474368..67f15f90fd1 100644 --- a/.github/workflows/smoke-agent-all-none.lock.yml +++ b/.github/workflows/smoke-agent-all-none.lock.yml @@ -293,22 +293,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-agent-public-approved.lock.yml b/.github/workflows/smoke-agent-public-approved.lock.yml index 77d6f9b8477..a97a968c43b 100644 --- a/.github/workflows/smoke-agent-public-approved.lock.yml +++ b/.github/workflows/smoke-agent-public-approved.lock.yml @@ -295,22 +295,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-agent-public-none.lock.yml b/.github/workflows/smoke-agent-public-none.lock.yml index 696b82451e0..ad17ac5ae53 100644 --- a/.github/workflows/smoke-agent-public-none.lock.yml +++ b/.github/workflows/smoke-agent-public-none.lock.yml @@ -293,22 +293,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-agent-scoped-approved.lock.yml b/.github/workflows/smoke-agent-scoped-approved.lock.yml index a36ffc40989..a996e162ed5 100644 --- a/.github/workflows/smoke-agent-scoped-approved.lock.yml +++ b/.github/workflows/smoke-agent-scoped-approved.lock.yml @@ -294,22 +294,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-antigravity.lock.yml b/.github/workflows/smoke-antigravity.lock.yml index d2577eae5ef..bb9c369137d 100644 --- a/.github/workflows/smoke-antigravity.lock.yml +++ b/.github/workflows/smoke-antigravity.lock.yml @@ -297,22 +297,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/smoke-call-workflow.lock.yml b/.github/workflows/smoke-call-workflow.lock.yml index 00e961a3681..7ecb992ad58 100644 --- a/.github/workflows/smoke-call-workflow.lock.yml +++ b/.github/workflows/smoke-call-workflow.lock.yml @@ -296,22 +296,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-ci.lock.yml b/.github/workflows/smoke-ci.lock.yml index 73380924afc..a670c9049d7 100644 --- a/.github/workflows/smoke-ci.lock.yml +++ b/.github/workflows/smoke-ci.lock.yml @@ -270,22 +270,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/compute_text.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-claude-on-copilot.lock.yml b/.github/workflows/smoke-claude-on-copilot.lock.yml index db5c04c21c2..ff12b27c974 100644 --- a/.github/workflows/smoke-claude-on-copilot.lock.yml +++ b/.github/workflows/smoke-claude-on-copilot.lock.yml @@ -270,22 +270,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-claude.lock.yml b/.github/workflows/smoke-claude.lock.yml index 7c8d2a7c950..d44ee419820 100644 --- a/.github/workflows/smoke-claude.lock.yml +++ b/.github/workflows/smoke-claude.lock.yml @@ -306,22 +306,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-codex.lock.yml b/.github/workflows/smoke-codex.lock.yml index c16a5b4938b..46694cf17dc 100644 --- a/.github/workflows/smoke-codex.lock.yml +++ b/.github/workflows/smoke-codex.lock.yml @@ -306,22 +306,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-copilot-aoai-apikey.lock.yml b/.github/workflows/smoke-copilot-aoai-apikey.lock.yml index ad3ed883027..f3138889d43 100644 --- a/.github/workflows/smoke-copilot-aoai-apikey.lock.yml +++ b/.github/workflows/smoke-copilot-aoai-apikey.lock.yml @@ -314,22 +314,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/remove_trigger_label.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/smoke-copilot-aoai-entra.lock.yml b/.github/workflows/smoke-copilot-aoai-entra.lock.yml index 61aa41dcb79..67495348a85 100644 --- a/.github/workflows/smoke-copilot-aoai-entra.lock.yml +++ b/.github/workflows/smoke-copilot-aoai-entra.lock.yml @@ -173,7 +173,7 @@ jobs: GH_AW_INFO_AWMG_VERSION: "" GH_AW_INFO_FIREWALL_TYPE: "squid" GH_AW_INFO_FRONTMATTER_EMOJI: "🧪" - GH_AW_COMPILED_STRICT: "false" + GH_AW_COMPILED_STRICT: "true" uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | @@ -313,22 +313,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/remove_trigger_label.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/smoke-copilot-arm.lock.yml b/.github/workflows/smoke-copilot-arm.lock.yml index a671a2c969d..87ecaf4570e 100644 --- a/.github/workflows/smoke-copilot-arm.lock.yml +++ b/.github/workflows/smoke-copilot-arm.lock.yml @@ -303,22 +303,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-copilot-sdk.lock.yml b/.github/workflows/smoke-copilot-sdk.lock.yml index a0da14964e1..820a289193c 100644 --- a/.github/workflows/smoke-copilot-sdk.lock.yml +++ b/.github/workflows/smoke-copilot-sdk.lock.yml @@ -286,22 +286,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/remove_trigger_label.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-copilot.lock.yml b/.github/workflows/smoke-copilot.lock.yml index f69cf922852..8deee74a8f4 100644 --- a/.github/workflows/smoke-copilot.lock.yml +++ b/.github/workflows/smoke-copilot.lock.yml @@ -173,7 +173,7 @@ jobs: GH_AW_INFO_AWMG_VERSION: "" GH_AW_INFO_FIREWALL_TYPE: "squid" GH_AW_INFO_FRONTMATTER_EMOJI: "🧪" - GH_AW_COMPILED_STRICT: "false" + GH_AW_COMPILED_STRICT: "true" GH_AW_INFO_MODEL_COSTS: '{"providers":{"anthropic":{"models":{"my-custom-claude":{"cost":{"cache_read":"3e-07","cache_write":"3.75e-06","input":"3e-06","output":"1.5e-05"}}}}}}' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: @@ -319,22 +319,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/remove_trigger_label.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/smoke-create-cross-repo-pr.lock.yml b/.github/workflows/smoke-create-cross-repo-pr.lock.yml index 32564c41505..baa1400d614 100644 --- a/.github/workflows/smoke-create-cross-repo-pr.lock.yml +++ b/.github/workflows/smoke-create-cross-repo-pr.lock.yml @@ -288,22 +288,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-crush.lock.yml b/.github/workflows/smoke-crush.lock.yml index 4b7c1720d8f..2db1dcc7b8f 100644 --- a/.github/workflows/smoke-crush.lock.yml +++ b/.github/workflows/smoke-crush.lock.yml @@ -295,22 +295,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-gemini.lock.yml b/.github/workflows/smoke-gemini.lock.yml index 14cfc7bd31c..31f07d11215 100644 --- a/.github/workflows/smoke-gemini.lock.yml +++ b/.github/workflows/smoke-gemini.lock.yml @@ -298,22 +298,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/smoke-multi-pr.lock.yml b/.github/workflows/smoke-multi-pr.lock.yml index ec51d20e773..56151fed371 100644 --- a/.github/workflows/smoke-multi-pr.lock.yml +++ b/.github/workflows/smoke-multi-pr.lock.yml @@ -294,22 +294,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-opencode.lock.yml b/.github/workflows/smoke-opencode.lock.yml index 097a3ff3afd..749fbcf6d73 100644 --- a/.github/workflows/smoke-opencode.lock.yml +++ b/.github/workflows/smoke-opencode.lock.yml @@ -296,22 +296,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-otel-backends.lock.yml b/.github/workflows/smoke-otel-backends.lock.yml index a9127e11d36..f47b6153bf4 100644 --- a/.github/workflows/smoke-otel-backends.lock.yml +++ b/.github/workflows/smoke-otel-backends.lock.yml @@ -320,22 +320,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/remove_trigger_label.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-pi.lock.yml b/.github/workflows/smoke-pi.lock.yml index 2dc8782e9b0..431148c376b 100644 --- a/.github/workflows/smoke-pi.lock.yml +++ b/.github/workflows/smoke-pi.lock.yml @@ -298,22 +298,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-project.lock.yml b/.github/workflows/smoke-project.lock.yml index fac08cb1931..634cc3c7644 100644 --- a/.github/workflows/smoke-project.lock.yml +++ b/.github/workflows/smoke-project.lock.yml @@ -297,22 +297,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/smoke-service-ports.lock.yml b/.github/workflows/smoke-service-ports.lock.yml index c193217d966..bf2450bbc69 100644 --- a/.github/workflows/smoke-service-ports.lock.yml +++ b/.github/workflows/smoke-service-ports.lock.yml @@ -286,22 +286,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-temporary-id.lock.yml b/.github/workflows/smoke-temporary-id.lock.yml index 12f758ee503..59fec6eb5a7 100644 --- a/.github/workflows/smoke-temporary-id.lock.yml +++ b/.github/workflows/smoke-temporary-id.lock.yml @@ -295,22 +295,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/smoke-test-tools.lock.yml b/.github/workflows/smoke-test-tools.lock.yml index 5d79a072cb9..3737b97f6c7 100644 --- a/.github/workflows/smoke-test-tools.lock.yml +++ b/.github/workflows/smoke-test-tools.lock.yml @@ -298,22 +298,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-update-cross-repo-pr.lock.yml b/.github/workflows/smoke-update-cross-repo-pr.lock.yml index 4b9551e868d..4558ea79e41 100644 --- a/.github/workflows/smoke-update-cross-repo-pr.lock.yml +++ b/.github/workflows/smoke-update-cross-repo-pr.lock.yml @@ -288,22 +288,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-workflow-call-with-inputs.lock.yml b/.github/workflows/smoke-workflow-call-with-inputs.lock.yml index 6731edc93ed..44a152b3f5e 100644 --- a/.github/workflows/smoke-workflow-call-with-inputs.lock.yml +++ b/.github/workflows/smoke-workflow-call-with-inputs.lock.yml @@ -316,22 +316,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/smoke-workflow-call.lock.yml b/.github/workflows/smoke-workflow-call.lock.yml index 950d058fb5f..b1ac324cf26 100644 --- a/.github/workflows/smoke-workflow-call.lock.yml +++ b/.github/workflows/smoke-workflow-call.lock.yml @@ -319,22 +319,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/spec-enforcer.lock.yml b/.github/workflows/spec-enforcer.lock.yml index 2eb0f6825b9..5d22372e2fe 100644 --- a/.github/workflows/spec-enforcer.lock.yml +++ b/.github/workflows/spec-enforcer.lock.yml @@ -250,22 +250,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/spec-extractor.lock.yml b/.github/workflows/spec-extractor.lock.yml index a585952c8f7..9874e3bcd78 100644 --- a/.github/workflows/spec-extractor.lock.yml +++ b/.github/workflows/spec-extractor.lock.yml @@ -242,22 +242,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/spec-librarian.lock.yml b/.github/workflows/spec-librarian.lock.yml index f9b04093467..54ca105336a 100644 --- a/.github/workflows/spec-librarian.lock.yml +++ b/.github/workflows/spec-librarian.lock.yml @@ -249,22 +249,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/stale-pr-cleanup.lock.yml b/.github/workflows/stale-pr-cleanup.lock.yml index c685d720153..82a0c3cd76b 100644 --- a/.github/workflows/stale-pr-cleanup.lock.yml +++ b/.github/workflows/stale-pr-cleanup.lock.yml @@ -236,22 +236,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/stale-repo-identifier.lock.yml b/.github/workflows/stale-repo-identifier.lock.yml index 2f281a33094..45724cbf286 100644 --- a/.github/workflows/stale-repo-identifier.lock.yml +++ b/.github/workflows/stale-repo-identifier.lock.yml @@ -259,22 +259,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/static-analysis-report.lock.yml b/.github/workflows/static-analysis-report.lock.yml index 08da7629322..329b14cc48c 100644 --- a/.github/workflows/static-analysis-report.lock.yml +++ b/.github/workflows/static-analysis-report.lock.yml @@ -248,22 +248,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/step-name-alignment.lock.yml b/.github/workflows/step-name-alignment.lock.yml index 50916137f10..10890893315 100644 --- a/.github/workflows/step-name-alignment.lock.yml +++ b/.github/workflows/step-name-alignment.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/sub-issue-closer.lock.yml b/.github/workflows/sub-issue-closer.lock.yml index d814c5f43fc..6fc3f6ef85b 100644 --- a/.github/workflows/sub-issue-closer.lock.yml +++ b/.github/workflows/sub-issue-closer.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/super-linter.lock.yml b/.github/workflows/super-linter.lock.yml index 6644fa8f33c..5ac30f3f398 100644 --- a/.github/workflows/super-linter.lock.yml +++ b/.github/workflows/super-linter.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/technical-doc-writer.lock.yml b/.github/workflows/technical-doc-writer.lock.yml index 98ab05bf382..5a1c8b8052f 100644 --- a/.github/workflows/technical-doc-writer.lock.yml +++ b/.github/workflows/technical-doc-writer.lock.yml @@ -247,22 +247,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/terminal-stylist.lock.yml b/.github/workflows/terminal-stylist.lock.yml index 176a551ce9d..3a7420d2aa3 100644 --- a/.github/workflows/terminal-stylist.lock.yml +++ b/.github/workflows/terminal-stylist.lock.yml @@ -249,22 +249,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/test-create-pr-error-handling.lock.yml b/.github/workflows/test-create-pr-error-handling.lock.yml index 1551252468e..2cac967c3e7 100644 --- a/.github/workflows/test-create-pr-error-handling.lock.yml +++ b/.github/workflows/test-create-pr-error-handling.lock.yml @@ -240,22 +240,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/test-dispatcher.lock.yml b/.github/workflows/test-dispatcher.lock.yml index 4085f9b2dfe..3ec5f3ec999 100644 --- a/.github/workflows/test-dispatcher.lock.yml +++ b/.github/workflows/test-dispatcher.lock.yml @@ -237,22 +237,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/test-project-url-default.lock.yml b/.github/workflows/test-project-url-default.lock.yml index a80cabc8cb8..bded421eb69 100644 --- a/.github/workflows/test-project-url-default.lock.yml +++ b/.github/workflows/test-project-url-default.lock.yml @@ -238,22 +238,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/test-quality-sentinel.lock.yml b/.github/workflows/test-quality-sentinel.lock.yml index 20d4484abf7..cdb12d19ff7 100644 --- a/.github/workflows/test-quality-sentinel.lock.yml +++ b/.github/workflows/test-quality-sentinel.lock.yml @@ -285,22 +285,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/test-workflow.lock.yml b/.github/workflows/test-workflow.lock.yml index 7e909776f7b..c0f0dc880e5 100644 --- a/.github/workflows/test-workflow.lock.yml +++ b/.github/workflows/test-workflow.lock.yml @@ -241,22 +241,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/tidy.lock.yml b/.github/workflows/tidy.lock.yml index 901740f6acc..9d2c7821c8f 100644 --- a/.github/workflows/tidy.lock.yml +++ b/.github/workflows/tidy.lock.yml @@ -300,22 +300,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/typist.lock.yml b/.github/workflows/typist.lock.yml index cefa392fd1a..3bec2e98dd3 100644 --- a/.github/workflows/typist.lock.yml +++ b/.github/workflows/typist.lock.yml @@ -251,22 +251,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/ubuntu-image-analyzer.lock.yml b/.github/workflows/ubuntu-image-analyzer.lock.yml index adadeffc9cc..1d2449291a4 100644 --- a/.github/workflows/ubuntu-image-analyzer.lock.yml +++ b/.github/workflows/ubuntu-image-analyzer.lock.yml @@ -252,22 +252,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/uk-ai-operational-resilience.lock.yml b/.github/workflows/uk-ai-operational-resilience.lock.yml index 73d237ca2c2..834a0ce9b6c 100644 --- a/.github/workflows/uk-ai-operational-resilience.lock.yml +++ b/.github/workflows/uk-ai-operational-resilience.lock.yml @@ -254,22 +254,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/unbloat-docs.lock.yml b/.github/workflows/unbloat-docs.lock.yml index 812cab8b27f..14c1fb35461 100644 --- a/.github/workflows/unbloat-docs.lock.yml +++ b/.github/workflows/unbloat-docs.lock.yml @@ -295,22 +295,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/add_workflow_run_comment.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/update-astro.lock.yml b/.github/workflows/update-astro.lock.yml index 66a7f535918..c9beb791531 100644 --- a/.github/workflows/update-astro.lock.yml +++ b/.github/workflows/update-astro.lock.yml @@ -250,22 +250,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/video-analyzer.lock.yml b/.github/workflows/video-analyzer.lock.yml index 21df81e50d3..85775346a32 100644 --- a/.github/workflows/video-analyzer.lock.yml +++ b/.github/workflows/video-analyzer.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/visual-regression-checker.lock.yml b/.github/workflows/visual-regression-checker.lock.yml index 035dbb897b3..b11f9a419b8 100644 --- a/.github/workflows/visual-regression-checker.lock.yml +++ b/.github/workflows/visual-regression-checker.lock.yml @@ -263,22 +263,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/compute_text.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/weekly-blog-post-writer.lock.yml b/.github/workflows/weekly-blog-post-writer.lock.yml index 0f50677e37a..15d33d8c521 100644 --- a/.github/workflows/weekly-blog-post-writer.lock.yml +++ b/.github/workflows/weekly-blog-post-writer.lock.yml @@ -249,22 +249,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Restore experiment state from git id: restore-experiment-state uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 diff --git a/.github/workflows/weekly-editors-health-check.lock.yml b/.github/workflows/weekly-editors-health-check.lock.yml index b1eeeb2397a..0cfe05ce63a 100644 --- a/.github/workflows/weekly-editors-health-check.lock.yml +++ b/.github/workflows/weekly-editors-health-check.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/weekly-issue-summary.lock.yml b/.github/workflows/weekly-issue-summary.lock.yml index 4a6552d1813..4b0708c080d 100644 --- a/.github/workflows/weekly-issue-summary.lock.yml +++ b/.github/workflows/weekly-issue-summary.lock.yml @@ -249,22 +249,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/weekly-safe-outputs-spec-review.lock.yml b/.github/workflows/weekly-safe-outputs-spec-review.lock.yml index 085fd7f576a..d6f5154c07a 100644 --- a/.github/workflows/weekly-safe-outputs-spec-review.lock.yml +++ b/.github/workflows/weekly-safe-outputs-spec-review.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/workflow-generator.lock.yml b/.github/workflows/workflow-generator.lock.yml index 6f22ec1c219..bd47755708e 100644 --- a/.github/workflows/workflow-generator.lock.yml +++ b/.github/workflows/workflow-generator.lock.yml @@ -281,22 +281,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/lock-issue.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/workflow-health-manager.lock.yml b/.github/workflows/workflow-health-manager.lock.yml index a393120eaa8..09971c77379 100644 --- a/.github/workflows/workflow-health-manager.lock.yml +++ b/.github/workflows/workflow-health-manager.lock.yml @@ -244,22 +244,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/workflow-normalizer.lock.yml b/.github/workflows/workflow-normalizer.lock.yml index 7f9b31c76b5..7b6571e93f4 100644 --- a/.github/workflows/workflow-normalizer.lock.yml +++ b/.github/workflows/workflow-normalizer.lock.yml @@ -246,22 +246,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/.github/workflows/workflow-skill-extractor.lock.yml b/.github/workflows/workflow-skill-extractor.lock.yml index 8efe0f4b9a1..42f7b20f007 100644 --- a/.github/workflows/workflow-skill-extractor.lock.yml +++ b/.github/workflows/workflow-skill-extractor.lock.yml @@ -243,22 +243,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/actions/setup/sh/log_runtime_features_summary.sh b/actions/setup/sh/log_runtime_features_summary.sh new file mode 100644 index 00000000000..100e917397f --- /dev/null +++ b/actions/setup/sh/log_runtime_features_summary.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +set +o histexpand +set -euo pipefail + +# Writes a collapsed Runtime features section to $GITHUB_STEP_SUMMARY. +# The step is only run when GH_AW_RUNTIME_FEATURES is present in the vars context +# (guarded by the step's `if:` condition), so we only need to check for non-empty here. +# A variable that exists in vars as an empty string produces no summary output — this +# is intentional: an empty value has no meaningful content to surface. +if [[ -n "${GH_AW_RUNTIME_FEATURES:-}" ]]; then + { + echo "### Runtime features" + echo + echo "
" + echo "Show configured runtime features" + echo + echo '```text' + printf '%s\n' "$GH_AW_RUNTIME_FEATURES" + echo '```' + echo + echo "
" + } >> "${GITHUB_STEP_SUMMARY:-/dev/null}" +fi diff --git a/actions/setup/sh/log_runtime_features_summary_test.sh b/actions/setup/sh/log_runtime_features_summary_test.sh new file mode 100755 index 00000000000..1a7aae25d8d --- /dev/null +++ b/actions/setup/sh/log_runtime_features_summary_test.sh @@ -0,0 +1,63 @@ +#!/usr/bin/env bash +set +o histexpand + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +SCRIPT="${SCRIPT_DIR}/log_runtime_features_summary.sh" +SUMMARY_FILE="$(mktemp)" +trap 'rm -f "$SUMMARY_FILE"' EXIT + +echo "Testing log_runtime_features_summary.sh..." +echo "" + +# Case 1: non-empty GH_AW_RUNTIME_FEATURES -> writes heading + details block +echo "Test 1: non-empty value — should write heading and details" +export GH_AW_RUNTIME_FEATURES="feature1=on" +export GITHUB_STEP_SUMMARY="$SUMMARY_FILE" +bash "$SCRIPT" +if grep -q "### Runtime features" "$SUMMARY_FILE"; then + echo "✅ Test 1a passed: heading written" +else + echo "❌ Test 1a failed: missing heading" + exit 1 +fi +if grep -q "
" "$SUMMARY_FILE"; then + echo "✅ Test 1b passed: wrapped in details block" +else + echo "❌ Test 1b failed: missing details block" + exit 1 +fi +if grep -q "feature1=on" "$SUMMARY_FILE"; then + echo "✅ Test 1c passed: feature value written" +else + echo "❌ Test 1c failed: missing feature value" + exit 1 +fi +echo "" + +# Case 2: empty GH_AW_RUNTIME_FEATURES -> no output written +echo "Test 2: empty value — should suppress output" +> "$SUMMARY_FILE" +export GH_AW_RUNTIME_FEATURES="" +bash "$SCRIPT" +if [[ ! -s "$SUMMARY_FILE" ]]; then + echo "✅ Test 2 passed: no output when value is empty" +else + echo "❌ Test 2 failed: unexpectedly wrote output for empty value" + exit 1 +fi +echo "" + +# Case 3: unset GH_AW_RUNTIME_FEATURES -> no output written +echo "Test 3: unset GH_AW_RUNTIME_FEATURES — should suppress output" +> "$SUMMARY_FILE" +unset GH_AW_RUNTIME_FEATURES +bash "$SCRIPT" +if [[ ! -s "$SUMMARY_FILE" ]]; then + echo "✅ Test 3 passed: no output when GH_AW_RUNTIME_FEATURES is unset" +else + echo "❌ Test 3 failed: unexpectedly wrote output when GH_AW_RUNTIME_FEATURES is unset" + exit 1 +fi +echo "" + +echo "🎉 All tests passed!" diff --git a/pkg/workflow/compiler_activation_job_builder.go b/pkg/workflow/compiler_activation_job_builder.go index 1b921c0869a..9e88bf49b7d 100644 --- a/pkg/workflow/compiler_activation_job_builder.go +++ b/pkg/workflow/compiler_activation_job_builder.go @@ -409,22 +409,8 @@ func (c *Compiler) buildActivationDailyAICGuardrailStep(data *WorkflowData) []st func buildRuntimeFeaturesSummaryStep() []string { return []string{ " - name: Log runtime features\n", - " env:\n", - " GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '\"GH_AW_RUNTIME_FEATURES\":') }}\n", - " run: |\n", - " {\n", - " echo \"## Runtime features\"\n", - " echo\n", - " if [[ \"$GH_AW_RUNTIME_FEATURES_IS_SET\" != \"true\" ]]; then\n", - " echo \"_Not set_\"\n", - " elif [[ -n \"$GH_AW_RUNTIME_FEATURES\" ]]; then\n", - " echo '```text'\n", - " printf '%s\\n' \"$GH_AW_RUNTIME_FEATURES\"\n", - " echo '```'\n", - " else\n", - " echo \"_Empty string_\"\n", - " fi\n", - " } >> \"$GITHUB_STEP_SUMMARY\"\n", + " if: ${{ contains(toJSON(vars), '\"GH_AW_RUNTIME_FEATURES\":') }}\n", + " run: bash \"${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh\"\n", } } diff --git a/pkg/workflow/runtime_features_env_test.go b/pkg/workflow/runtime_features_env_test.go index 918b33f38ae..b8edc34d33b 100644 --- a/pkg/workflow/runtime_features_env_test.go +++ b/pkg/workflow/runtime_features_env_test.go @@ -3,6 +3,9 @@ package workflow import ( + "os" + "path/filepath" + "runtime" "strings" "testing" @@ -78,13 +81,23 @@ func TestActivationJobIncludesRuntimeFeatureSummaryStep(t *testing.T) { if !strings.Contains(steps, "GH_AW_RUNTIME_FEATURES") { t.Fatal("expected runtime feature summary step to reference GH_AW_RUNTIME_FEATURES") } - if !strings.Contains(steps, "GH_AW_RUNTIME_FEATURES_IS_SET") { - t.Fatal("expected runtime feature summary step to distinguish unset from empty values") + if !strings.Contains(steps, "if:") { + t.Fatal("expected runtime feature summary step to use if: condition to skip when var is unset") } - if !strings.Contains(steps, "_Empty string_") { - t.Fatal("expected runtime feature summary step to render empty values distinctly") + if !strings.Contains(steps, "log_runtime_features_summary.sh") { + t.Fatal("expected runtime feature summary step to call shared shell script") } - if !strings.Contains(steps, "$GITHUB_STEP_SUMMARY") { - t.Fatal("expected runtime feature summary step to write to GITHUB_STEP_SUMMARY") + + // Verify that the shared shell script itself writes to GITHUB_STEP_SUMMARY, so the + // behavioral contract is not silently broken by editing the script. + _, testFile, _, _ := runtime.Caller(0) + repoRoot := filepath.Join(filepath.Dir(testFile), "..", "..") + scriptPath := filepath.Join(repoRoot, "actions", "setup", "sh", "log_runtime_features_summary.sh") + scriptContent, err := os.ReadFile(scriptPath) + if err != nil { + t.Fatalf("expected shared shell script to exist at %s: %v", scriptPath, err) + } + if !strings.Contains(string(scriptContent), "GITHUB_STEP_SUMMARY") { + t.Fatal("expected shared shell script to write to GITHUB_STEP_SUMMARY") } } diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden index eb81c0b49d2..fb2f28123eb 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden @@ -173,22 +173,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden index 91cd90dc9cc..4043e013eb2 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden @@ -174,22 +174,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden index 6e7b3ba8b7a..79739c63ef6 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden @@ -173,22 +173,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden index 720b172e178..ed84862b35f 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden @@ -171,22 +171,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden index bcab7e51eac..2152cbb8305 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden @@ -173,22 +173,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden index a6a88a708fb..e64c8e1f05a 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden @@ -173,22 +173,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden index 901b7c0081f..331e9b5cd2b 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden @@ -173,22 +173,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden index d1e1f30efb5..670bc59da65 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden @@ -199,22 +199,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/compute_text.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden index c7c57a8b8c4..6211a0bb04f 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden @@ -173,22 +173,8 @@ jobs: const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_timestamp_api.cjs'); await main(); - name: Log runtime features - env: - GH_AW_RUNTIME_FEATURES_IS_SET: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} - run: | - { - echo "## Runtime features" - echo - if [[ "$GH_AW_RUNTIME_FEATURES_IS_SET" != "true" ]]; then - echo "_Not set_" - elif [[ -n "$GH_AW_RUNTIME_FEATURES" ]]; then - echo '```text' - printf '%s\n' "$GH_AW_RUNTIME_FEATURES" - echo '```' - else - echo "_Empty string_" - fi - } >> "$GITHUB_STEP_SUMMARY" + if: ${{ contains(toJSON(vars), '"GH_AW_RUNTIME_FEATURES":') }} + run: bash "${RUNNER_TEMP}/gh-aw/actions/log_runtime_features_summary.sh" - name: Create prompt with built-in context env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt