From 720cab59b66be28a5af3e5e9289cf1130d03e537 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Jul 2026 22:07:51 +0000 Subject: [PATCH 1/3] Initial plan From 18aad9b95626d4e3f0986cec1f6e26aaaa54831e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Jul 2026 22:23:53 +0000 Subject: [PATCH 2/3] fix: skip roles check when slash command not triggered on issue open For workflows using the `on.slash_command` trigger, the pre_activation job previously ran `check_membership` before `check_command_position`. When any issue was opened without the slash command in its body, both checks ran and both emitted warnings: - "Access denied: User '...' is not authorized" (from check_membership) - "The trigger comment did not start with a required command" (from check_command_position) The roles warning is confusing because it fires even when there was no attempt to trigger the slash command at all. Fix: - Move `check_command_position` to run first for command workflows - Add `if: steps.check_command_position.outputs.command_position_ok == 'true'` to the `check_membership` step for command workflows Now the membership/roles check is only performed when the slash command was actually found in the trigger text. If the slash command is absent, only the "command not found" message appears (or no message at all, since the job-level if: condition typically skips the job entirely). Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/workflow/compiler_pre_activation_job.go | 12 +++-- pkg/workflow/role_checks.go | 6 +++ pkg/workflow/slash_command_output_test.go | 51 +++++++++++++++++++++ 3 files changed, 66 insertions(+), 3 deletions(-) diff --git a/pkg/workflow/compiler_pre_activation_job.go b/pkg/workflow/compiler_pre_activation_job.go index 174d45b5ad7..7eca4bae9c7 100644 --- a/pkg/workflow/compiler_pre_activation_job.go +++ b/pkg/workflow/compiler_pre_activation_job.go @@ -123,6 +123,13 @@ func (c *Compiler) buildPreActivationPermissions(data *WorkflowData, setupAction } func (c *Compiler) buildPreActivationCheckSteps(data *WorkflowData, steps []string, needsPermissionCheck bool) []string { + // For command workflows, run command position check before the membership check. + // check_membership uses an if: condition that requires command_position_ok == 'true', + // so the command check must execute first. This prevents a confusing "access denied" + // warning from appearing when an issue is opened without the slash command. + if len(data.Command) > 0 { + steps = c.appendPreActivationCommandPositionStep(data, steps) + } if needsPermissionCheck { steps = c.generateMembershipCheck(data, steps) } @@ -235,9 +242,8 @@ func (c *Compiler) buildPreActivationRolesBotsCmdSteps(data *WorkflowData, steps if len(data.SkipBots) > 0 { steps = c.appendPreActivationSkipBotsStep(data, steps) } - if len(data.Command) > 0 { - steps = c.appendPreActivationCommandPositionStep(data, steps) - } + // Command position step is added in buildPreActivationCheckSteps (before check_membership) + // for command workflows so that check_membership can be made conditional on it. return steps } diff --git a/pkg/workflow/role_checks.go b/pkg/workflow/role_checks.go index 214b96ae4bd..3571aca403d 100644 --- a/pkg/workflow/role_checks.go +++ b/pkg/workflow/role_checks.go @@ -23,6 +23,12 @@ func (c *Compiler) generateMembershipCheck(data *WorkflowData, steps []string) [ steps = append(steps, " - name: Check team membership for workflow\n") } steps = append(steps, fmt.Sprintf(" id: %s\n", constants.CheckMembershipStepID)) + // For command workflows the command position check runs first (before this step). + // Only run the membership check when the command was actually triggered to avoid + // a confusing "access denied" warning on every non-slash-command activation. + if len(data.Command) > 0 { + steps = append(steps, fmt.Sprintf(" if: steps.%s.outputs.%s == 'true'\n", constants.CheckCommandPositionStepID, constants.CommandPositionOkOutput)) + } steps = append(steps, fmt.Sprintf(" uses: %s\n", getCachedActionPin("actions/github-script", data))) // Add environment variables for permission check diff --git a/pkg/workflow/slash_command_output_test.go b/pkg/workflow/slash_command_output_test.go index e75ddc944e5..d5936d9bc94 100644 --- a/pkg/workflow/slash_command_output_test.go +++ b/pkg/workflow/slash_command_output_test.go @@ -5,6 +5,7 @@ package workflow import ( "os" "path/filepath" + "strings" "testing" "github.com/github/gh-aw/pkg/stringutil" @@ -14,6 +15,56 @@ import ( "github.com/stretchr/testify/require" ) +// TestSlashCommandMembershipCheckConditional verifies that for slash_command workflows the +// check_command_position step runs before check_membership and that check_membership carries +// an if: condition so it is skipped when the slash command was not present in the trigger text. +// This prevents a confusing "access denied" warning on every issue-opened event. +func TestSlashCommandMembershipCheckConditional(t *testing.T) { + tempDir := t.TempDir() + + workflowContent := `--- +name: Test Slash Command Roles +on: + slash_command: + name: fix +permissions: + contents: read +engine: copilot +--- + +Test workflow content +` + + workflowPath := filepath.Join(tempDir, "test-workflow.md") + err := os.WriteFile(workflowPath, []byte(workflowContent), 0644) + require.NoError(t, err) + + compiler := NewCompiler() + err = compiler.CompileWorkflow(workflowPath) + require.NoError(t, err, "Failed to compile workflow") + + lockFilePath := stringutil.MarkdownToLockFile(workflowPath) + lockContent, err := os.ReadFile(lockFilePath) + require.NoError(t, err) + compiled := string(lockContent) + + // check_command_position must appear before check_membership in the pre_activation steps. + cmdIdx := strings.Index(compiled, "id: check_command_position") + membershipIdx := strings.Index(compiled, "id: check_membership") + require.NotEqual(t, -1, cmdIdx, "Expected check_command_position step in compiled workflow") + require.NotEqual(t, -1, membershipIdx, "Expected check_membership step in compiled workflow") + assert.Less(t, cmdIdx, membershipIdx, "check_command_position must appear before check_membership") + + // check_membership must carry an if: condition referencing check_command_position. + membershipSection := compiled[membershipIdx:] + nextStepIdx := strings.Index(membershipSection[1:], "\n - ") + if nextStepIdx != -1 { + membershipSection = membershipSection[:nextStepIdx+1] + } + assert.Contains(t, membershipSection, "check_command_position.outputs.command_position_ok", + "check_membership step must be conditional on command_position_ok for slash_command workflows") +} + // TestSlashCommandOutputReferencesPreActivation ensures that the slash_command output // in the activation job references needs.pre_activation.outputs.matched_command // instead of steps.check_command_position.outputs.matched_command From dbf5877904b2e9f287ecd4e0578ad9d22f7c3195 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Jul 2026 23:13:23 +0000 Subject: [PATCH 3/3] chore: pr-finisher triage - local validation pass Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com> --- .github/workflows/ace-editor.lock.yml | 19 +++++++-------- .github/workflows/approach-validator.lock.yml | 19 +++++++-------- .github/workflows/archie.lock.yml | 19 +++++++-------- .github/workflows/cloclo.lock.yml | 19 +++++++-------- .github/workflows/craft.lock.yml | 19 +++++++-------- .github/workflows/dependabot-burner.lock.yml | 19 +++++++-------- .../workflows/design-decision-gate.lock.yml | 19 +++++++-------- .github/workflows/grumpy-reviewer.lock.yml | 19 +++++++-------- .../mattpocock-skills-reviewer.lock.yml | 19 +++++++-------- .github/workflows/mergefest.lock.yml | 19 +++++++-------- .github/workflows/pdf-summary.lock.yml | 19 +++++++-------- .github/workflows/plan.lock.yml | 19 +++++++-------- .github/workflows/poem-bot.lock.yml | 19 +++++++-------- .../pr-code-quality-reviewer.lock.yml | 19 +++++++-------- .../workflows/pr-nitpick-reviewer.lock.yml | 19 +++++++-------- .github/workflows/pr-sous-chef.lock.yml | 23 ++++++++++--------- .github/workflows/q.lock.yml | 19 +++++++-------- .github/workflows/ruflo-backed-task.lock.yml | 19 +++++++-------- .github/workflows/scout.lock.yml | 19 +++++++-------- .github/workflows/security-review.lock.yml | 19 +++++++-------- .github/workflows/skillet.lock.yml | 19 +++++++-------- .../workflows/smoke-agent-all-merged.lock.yml | 19 +++++++-------- .../workflows/smoke-agent-all-none.lock.yml | 19 +++++++-------- .../smoke-agent-public-approved.lock.yml | 19 +++++++-------- .../smoke-agent-public-none.lock.yml | 19 +++++++-------- .../smoke-agent-scoped-approved.lock.yml | 19 +++++++-------- .github/workflows/smoke-antigravity.lock.yml | 19 +++++++-------- .../workflows/smoke-call-workflow.lock.yml | 19 +++++++-------- .../smoke-claude-on-copilot.lock.yml | 19 +++++++-------- .github/workflows/smoke-claude.lock.yml | 19 +++++++-------- .github/workflows/smoke-codex.lock.yml | 19 +++++++-------- .../smoke-copilot-aoai-apikey.lock.yml | 19 +++++++-------- .../smoke-copilot-aoai-entra.lock.yml | 19 +++++++-------- .github/workflows/smoke-copilot-arm.lock.yml | 19 +++++++-------- .github/workflows/smoke-copilot-mai.lock.yml | 19 +++++++-------- .github/workflows/smoke-copilot-sdk.lock.yml | 19 +++++++-------- .../workflows/smoke-copilot-small.lock.yml | 19 +++++++-------- .github/workflows/smoke-copilot.lock.yml | 19 +++++++-------- .../smoke-create-cross-repo-pr.lock.yml | 19 +++++++-------- .github/workflows/smoke-gemini.lock.yml | 19 +++++++-------- .../workflows/smoke-github-claude.lock.yml | 19 +++++++-------- .github/workflows/smoke-multi-pr.lock.yml | 19 +++++++-------- .github/workflows/smoke-opencode.lock.yml | 19 +++++++-------- .../workflows/smoke-otel-backends.lock.yml | 19 +++++++-------- .github/workflows/smoke-pi.lock.yml | 19 +++++++-------- .github/workflows/smoke-project.lock.yml | 19 +++++++-------- .../workflows/smoke-service-ports.lock.yml | 19 +++++++-------- .github/workflows/smoke-temporary-id.lock.yml | 19 +++++++-------- .github/workflows/smoke-test-tools.lock.yml | 19 +++++++-------- .../smoke-update-cross-repo-pr.lock.yml | 19 +++++++-------- .../workflows/test-quality-sentinel.lock.yml | 19 +++++++-------- .github/workflows/tidy.lock.yml | 19 +++++++-------- .github/workflows/unbloat-docs.lock.yml | 23 ++++++++++--------- 53 files changed, 534 insertions(+), 481 deletions(-) diff --git a/.github/workflows/ace-editor.lock.yml b/.github/workflows/ace-editor.lock.yml index b4cb9cd1cba..f7701f9aecf 100644 --- a/.github/workflows/ace-editor.lock.yml +++ b/.github/workflows/ace-editor.lock.yml @@ -1483,28 +1483,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"ace\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"ace\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/approach-validator.lock.yml b/.github/workflows/approach-validator.lock.yml index 5f4c586b364..de0bd022eb1 100644 --- a/.github/workflows/approach-validator.lock.yml +++ b/.github/workflows/approach-validator.lock.yml @@ -1997,28 +1997,29 @@ jobs: GH_AW_INFO_VERSION: "2.1.220" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "claude" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"approach-validator\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"approach-validator\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/archie.lock.yml b/.github/workflows/archie.lock.yml index 5e85d557f17..e4234fcb1c9 100644 --- a/.github/workflows/archie.lock.yml +++ b/.github/workflows/archie.lock.yml @@ -1878,28 +1878,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"archie\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"archie\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/cloclo.lock.yml b/.github/workflows/cloclo.lock.yml index 7d50da121bb..d69015bf531 100644 --- a/.github/workflows/cloclo.lock.yml +++ b/.github/workflows/cloclo.lock.yml @@ -2212,28 +2212,29 @@ jobs: GH_AW_INFO_VERSION: "2.1.220" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "claude" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"cloclo\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"cloclo\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/craft.lock.yml b/.github/workflows/craft.lock.yml index 0c5f98e39c0..09cee3e2529 100644 --- a/.github/workflows/craft.lock.yml +++ b/.github/workflows/craft.lock.yml @@ -1885,28 +1885,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"craft\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"craft\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/dependabot-burner.lock.yml b/.github/workflows/dependabot-burner.lock.yml index 6a8198d9755..54486f5b868 100644 --- a/.github/workflows/dependabot-burner.lock.yml +++ b/.github/workflows/dependabot-burner.lock.yml @@ -1756,28 +1756,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"dependabot-burner\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"dependabot-burner\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/design-decision-gate.lock.yml b/.github/workflows/design-decision-gate.lock.yml index f8d36d7e39e..f31d4646962 100644 --- a/.github/workflows/design-decision-gate.lock.yml +++ b/.github/workflows/design-decision-gate.lock.yml @@ -2049,28 +2049,29 @@ jobs: GH_AW_INFO_VERSION: "2.1.220" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "claude" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"review\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"review\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/grumpy-reviewer.lock.yml b/.github/workflows/grumpy-reviewer.lock.yml index b9c545d001c..5934d033bcb 100644 --- a/.github/workflows/grumpy-reviewer.lock.yml +++ b/.github/workflows/grumpy-reviewer.lock.yml @@ -1802,28 +1802,29 @@ jobs: GH_AW_INFO_VERSION: "0.146.0" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "codex" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"grumpy\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"grumpy\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/mattpocock-skills-reviewer.lock.yml b/.github/workflows/mattpocock-skills-reviewer.lock.yml index 8556d599caf..cf01cbbca32 100644 --- a/.github/workflows/mattpocock-skills-reviewer.lock.yml +++ b/.github/workflows/mattpocock-skills-reviewer.lock.yml @@ -1879,28 +1879,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"matt\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"matt\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/mergefest.lock.yml b/.github/workflows/mergefest.lock.yml index be0f3c18034..37007a628b4 100644 --- a/.github/workflows/mergefest.lock.yml +++ b/.github/workflows/mergefest.lock.yml @@ -1698,28 +1698,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"mergefest\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"mergefest\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/pdf-summary.lock.yml b/.github/workflows/pdf-summary.lock.yml index 1c7d0a13569..0999cfd82b9 100644 --- a/.github/workflows/pdf-summary.lock.yml +++ b/.github/workflows/pdf-summary.lock.yml @@ -1771,28 +1771,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"summarize\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"summarize\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/plan.lock.yml b/.github/workflows/plan.lock.yml index dd81cf1b766..5d43857860e 100644 --- a/.github/workflows/plan.lock.yml +++ b/.github/workflows/plan.lock.yml @@ -1992,28 +1992,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"plan\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"plan\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/poem-bot.lock.yml b/.github/workflows/poem-bot.lock.yml index ed2a4fa5cbd..9a68c6b902d 100644 --- a/.github/workflows/poem-bot.lock.yml +++ b/.github/workflows/poem-bot.lock.yml @@ -2180,28 +2180,29 @@ jobs: GH_AW_INFO_VERSION: "0.82.1" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "pi" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer" + GH_AW_COMMANDS: "[\"poem-bot\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"poem-bot\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/pr-code-quality-reviewer.lock.yml b/.github/workflows/pr-code-quality-reviewer.lock.yml index e4b1dddfbdc..e14155ed27e 100644 --- a/.github/workflows/pr-code-quality-reviewer.lock.yml +++ b/.github/workflows/pr-code-quality-reviewer.lock.yml @@ -2015,28 +2015,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"review\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"review\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/pr-nitpick-reviewer.lock.yml b/.github/workflows/pr-nitpick-reviewer.lock.yml index 005ea3dc372..bc16d9d135a 100644 --- a/.github/workflows/pr-nitpick-reviewer.lock.yml +++ b/.github/workflows/pr-nitpick-reviewer.lock.yml @@ -1748,28 +1748,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"nit\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"nit\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/pr-sous-chef.lock.yml b/.github/workflows/pr-sous-chef.lock.yml index 13679ca5fc5..4106cb1b676 100644 --- a/.github/workflows/pr-sous-chef.lock.yml +++ b/.github/workflows/pr-sous-chef.lock.yml @@ -2241,8 +2241,20 @@ jobs: GH_AW_INFO_VERSION: "0.82.1" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "pi" + - name: Check command position + id: check_command_position + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 + env: + GH_AW_COMMANDS: "[\"souschef\"]" + with: + script: | + const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); + setupGlobals(core, github, context, exec, io, getOctokit); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + await main(); - name: Check team membership for command workflow id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_REQUIRED_ROLES: "admin,maintainer,write" @@ -2266,17 +2278,6 @@ jobs: setupGlobals(core, github, context, exec, io, getOctokit); const { main } = require('${{ runner.temp }}/gh-aw/actions/check_skip_if_no_match.cjs'); await main(); - - name: Check command position - id: check_command_position - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 - env: - GH_AW_COMMANDS: "[\"souschef\"]" - with: - script: | - const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); - await main(); push_evals_state: needs: diff --git a/.github/workflows/q.lock.yml b/.github/workflows/q.lock.yml index 53f8c15e5f3..98eff28b24c 100644 --- a/.github/workflows/q.lock.yml +++ b/.github/workflows/q.lock.yml @@ -1847,28 +1847,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"q\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"q\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/ruflo-backed-task.lock.yml b/.github/workflows/ruflo-backed-task.lock.yml index 8f4c006fb4a..e99f9fe03b5 100644 --- a/.github/workflows/ruflo-backed-task.lock.yml +++ b/.github/workflows/ruflo-backed-task.lock.yml @@ -1811,28 +1811,29 @@ jobs: GH_AW_INFO_VERSION: "2.1.220" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "claude" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"ruflo\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"ruflo\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/scout.lock.yml b/.github/workflows/scout.lock.yml index d14687b980d..b29e7536e52 100644 --- a/.github/workflows/scout.lock.yml +++ b/.github/workflows/scout.lock.yml @@ -1924,28 +1924,29 @@ jobs: GH_AW_INFO_VERSION: "2.1.220" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "claude" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"scout\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"scout\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/security-review.lock.yml b/.github/workflows/security-review.lock.yml index 7a613a479bd..24dcee341f3 100644 --- a/.github/workflows/security-review.lock.yml +++ b/.github/workflows/security-review.lock.yml @@ -2224,28 +2224,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"security-review\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"security-review\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/skillet.lock.yml b/.github/workflows/skillet.lock.yml index 91e1c273388..19c785fb389 100644 --- a/.github/workflows/skillet.lock.yml +++ b/.github/workflows/skillet.lock.yml @@ -1739,28 +1739,29 @@ jobs: .github/skills .github/workflows actions/setup/js - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"*\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"*\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); - name: Match requested skill id: match_skill diff --git a/.github/workflows/smoke-agent-all-merged.lock.yml b/.github/workflows/smoke-agent-all-merged.lock.yml index 699dd409705..c5d486ad241 100644 --- a/.github/workflows/smoke-agent-all-merged.lock.yml +++ b/.github/workflows/smoke-agent-all-merged.lock.yml @@ -1721,28 +1721,29 @@ jobs: GH_AW_INFO_VERSION: "2.1.220" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "claude" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-agent-all-merged\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-agent-all-merged\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-agent-all-none.lock.yml b/.github/workflows/smoke-agent-all-none.lock.yml index 37d9ab4941b..1ad64fd175a 100644 --- a/.github/workflows/smoke-agent-all-none.lock.yml +++ b/.github/workflows/smoke-agent-all-none.lock.yml @@ -1721,28 +1721,29 @@ jobs: GH_AW_INFO_VERSION: "2.1.220" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "claude" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-agent-all-none\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-agent-all-none\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-agent-public-approved.lock.yml b/.github/workflows/smoke-agent-public-approved.lock.yml index aaf9e624a18..52cef791c96 100644 --- a/.github/workflows/smoke-agent-public-approved.lock.yml +++ b/.github/workflows/smoke-agent-public-approved.lock.yml @@ -1773,28 +1773,29 @@ jobs: GH_AW_INFO_VERSION: "2.1.220" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "claude" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-agent-public-approved\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-agent-public-approved\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-agent-public-none.lock.yml b/.github/workflows/smoke-agent-public-none.lock.yml index f03d75d2b27..62f762e15f6 100644 --- a/.github/workflows/smoke-agent-public-none.lock.yml +++ b/.github/workflows/smoke-agent-public-none.lock.yml @@ -1721,28 +1721,29 @@ jobs: GH_AW_INFO_VERSION: "2.1.220" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "claude" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-agent-public-none\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-agent-public-none\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-agent-scoped-approved.lock.yml b/.github/workflows/smoke-agent-scoped-approved.lock.yml index b822b47a337..ea51b42ae7e 100644 --- a/.github/workflows/smoke-agent-scoped-approved.lock.yml +++ b/.github/workflows/smoke-agent-scoped-approved.lock.yml @@ -1728,28 +1728,29 @@ jobs: GH_AW_INFO_VERSION: "2.1.220" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "claude" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-agent-scoped-approved\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-agent-scoped-approved\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-antigravity.lock.yml b/.github/workflows/smoke-antigravity.lock.yml index d68828fe5d7..4111d8044c2 100644 --- a/.github/workflows/smoke-antigravity.lock.yml +++ b/.github/workflows/smoke-antigravity.lock.yml @@ -1985,28 +1985,29 @@ jobs: GH_AW_SETUP_WORKFLOW_NAME: "Smoke Antigravity" GH_AW_CURRENT_WORKFLOW_REF: ${{ github.repository }}/.github/workflows/smoke-antigravity.lock.yml@${{ github.ref }} GH_AW_INFO_ENGINE_ID: "antigravity" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-antigravity\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-antigravity\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/smoke-call-workflow.lock.yml b/.github/workflows/smoke-call-workflow.lock.yml index 0a41340c5a2..aa275108e1b 100644 --- a/.github/workflows/smoke-call-workflow.lock.yml +++ b/.github/workflows/smoke-call-workflow.lock.yml @@ -1769,28 +1769,29 @@ jobs: GH_AW_INFO_VERSION: "0.146.0" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "codex" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-call-workflow\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-call-workflow\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-claude-on-copilot.lock.yml b/.github/workflows/smoke-claude-on-copilot.lock.yml index 46fea7efcb5..c42e87e4e47 100644 --- a/.github/workflows/smoke-claude-on-copilot.lock.yml +++ b/.github/workflows/smoke-claude-on-copilot.lock.yml @@ -1664,28 +1664,29 @@ jobs: GH_AW_INFO_VERSION: "2.1.220" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "claude" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-claude-on-copilot\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-claude-on-copilot\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-claude.lock.yml b/.github/workflows/smoke-claude.lock.yml index a59d82c3746..33128189dc1 100644 --- a/.github/workflows/smoke-claude.lock.yml +++ b/.github/workflows/smoke-claude.lock.yml @@ -2615,28 +2615,29 @@ jobs: GH_AW_INFO_VERSION: "2.1.220" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "claude" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-claude\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-claude\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-codex.lock.yml b/.github/workflows/smoke-codex.lock.yml index 5a4089da809..e9162b355e4 100644 --- a/.github/workflows/smoke-codex.lock.yml +++ b/.github/workflows/smoke-codex.lock.yml @@ -2228,28 +2228,29 @@ jobs: GH_AW_INFO_VERSION: "0.146.0" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "codex" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-codex\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-codex\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-copilot-aoai-apikey.lock.yml b/.github/workflows/smoke-copilot-aoai-apikey.lock.yml index 40446e59068..06dec4a8c07 100644 --- a/.github/workflows/smoke-copilot-aoai-apikey.lock.yml +++ b/.github/workflows/smoke-copilot-aoai-apikey.lock.yml @@ -3065,28 +3065,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-copilot-aoai-apikey\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-copilot-aoai-apikey\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/smoke-copilot-aoai-entra.lock.yml b/.github/workflows/smoke-copilot-aoai-entra.lock.yml index 73c020a244c..7ee3e4cd443 100644 --- a/.github/workflows/smoke-copilot-aoai-entra.lock.yml +++ b/.github/workflows/smoke-copilot-aoai-entra.lock.yml @@ -3096,28 +3096,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-copilot-aoai-entra\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-copilot-aoai-entra\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/smoke-copilot-arm.lock.yml b/.github/workflows/smoke-copilot-arm.lock.yml index 8954ea50097..2e49a5b9b1b 100644 --- a/.github/workflows/smoke-copilot-arm.lock.yml +++ b/.github/workflows/smoke-copilot-arm.lock.yml @@ -2644,28 +2644,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-copilot-arm\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-copilot-arm\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-copilot-mai.lock.yml b/.github/workflows/smoke-copilot-mai.lock.yml index f3aa205097e..412b4505702 100644 --- a/.github/workflows/smoke-copilot-mai.lock.yml +++ b/.github/workflows/smoke-copilot-mai.lock.yml @@ -1667,28 +1667,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-copilot-mai\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-copilot-mai\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-copilot-sdk.lock.yml b/.github/workflows/smoke-copilot-sdk.lock.yml index b659ee835d0..de9916d121b 100644 --- a/.github/workflows/smoke-copilot-sdk.lock.yml +++ b/.github/workflows/smoke-copilot-sdk.lock.yml @@ -1646,28 +1646,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-copilot-sdk\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-copilot-sdk\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-copilot-small.lock.yml b/.github/workflows/smoke-copilot-small.lock.yml index 52706b77b92..066e4f9fffb 100644 --- a/.github/workflows/smoke-copilot-small.lock.yml +++ b/.github/workflows/smoke-copilot-small.lock.yml @@ -1640,28 +1640,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-copilot-small\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-copilot-small\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-copilot.lock.yml b/.github/workflows/smoke-copilot.lock.yml index 649324c3492..4298dd6c2f1 100644 --- a/.github/workflows/smoke-copilot.lock.yml +++ b/.github/workflows/smoke-copilot.lock.yml @@ -3076,28 +3076,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-copilot\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-copilot\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/smoke-create-cross-repo-pr.lock.yml b/.github/workflows/smoke-create-cross-repo-pr.lock.yml index 83eb06ea239..eb887a5fc70 100644 --- a/.github/workflows/smoke-create-cross-repo-pr.lock.yml +++ b/.github/workflows/smoke-create-cross-repo-pr.lock.yml @@ -1773,28 +1773,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-create-cross-repo-pr\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-create-cross-repo-pr\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-gemini.lock.yml b/.github/workflows/smoke-gemini.lock.yml index 43bd315a9be..06aa4ee79f8 100644 --- a/.github/workflows/smoke-gemini.lock.yml +++ b/.github/workflows/smoke-gemini.lock.yml @@ -2067,28 +2067,29 @@ jobs: GH_AW_CURRENT_WORKFLOW_REF: ${{ github.repository }}/.github/workflows/smoke-gemini.lock.yml@${{ github.ref }} GH_AW_INFO_VERSION: "0.39.1" GH_AW_INFO_ENGINE_ID: "gemini" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-gemini\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-gemini\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/smoke-github-claude.lock.yml b/.github/workflows/smoke-github-claude.lock.yml index c1d14cf4bba..a13b968ba3d 100644 --- a/.github/workflows/smoke-github-claude.lock.yml +++ b/.github/workflows/smoke-github-claude.lock.yml @@ -1664,28 +1664,29 @@ jobs: GH_AW_INFO_VERSION: "2.1.220" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "claude" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-github-claude\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-github-claude\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-multi-pr.lock.yml b/.github/workflows/smoke-multi-pr.lock.yml index 73e04507bc6..4d2cf16f913 100644 --- a/.github/workflows/smoke-multi-pr.lock.yml +++ b/.github/workflows/smoke-multi-pr.lock.yml @@ -1725,28 +1725,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-multi-pr\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-multi-pr\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-opencode.lock.yml b/.github/workflows/smoke-opencode.lock.yml index 4e9fbe992e9..c2f2a250592 100644 --- a/.github/workflows/smoke-opencode.lock.yml +++ b/.github/workflows/smoke-opencode.lock.yml @@ -1784,28 +1784,29 @@ jobs: GH_AW_CURRENT_WORKFLOW_REF: ${{ github.repository }}/.github/workflows/smoke-opencode.lock.yml@${{ github.ref }} GH_AW_INFO_VERSION: "1.2.14" GH_AW_INFO_ENGINE_ID: "opencode" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-opencode\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-opencode\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-otel-backends.lock.yml b/.github/workflows/smoke-otel-backends.lock.yml index d98cf55efd6..26f3d2b35c1 100644 --- a/.github/workflows/smoke-otel-backends.lock.yml +++ b/.github/workflows/smoke-otel-backends.lock.yml @@ -1827,28 +1827,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-otel-backends\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-otel-backends\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-pi.lock.yml b/.github/workflows/smoke-pi.lock.yml index d291d0bb621..24474ca3dc0 100644 --- a/.github/workflows/smoke-pi.lock.yml +++ b/.github/workflows/smoke-pi.lock.yml @@ -1728,28 +1728,29 @@ jobs: GH_AW_INFO_VERSION: "0.82.1" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "pi" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-pi\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-pi\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-project.lock.yml b/.github/workflows/smoke-project.lock.yml index a02bf0d2fb5..d76fc73bf96 100644 --- a/.github/workflows/smoke-project.lock.yml +++ b/.github/workflows/smoke-project.lock.yml @@ -2204,28 +2204,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-project\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-project\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/smoke-service-ports.lock.yml b/.github/workflows/smoke-service-ports.lock.yml index 10531770fe2..231fd60113b 100644 --- a/.github/workflows/smoke-service-ports.lock.yml +++ b/.github/workflows/smoke-service-ports.lock.yml @@ -1715,28 +1715,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-service-ports\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-service-ports\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-temporary-id.lock.yml b/.github/workflows/smoke-temporary-id.lock.yml index 6585c53109a..52aa526d17b 100644 --- a/.github/workflows/smoke-temporary-id.lock.yml +++ b/.github/workflows/smoke-temporary-id.lock.yml @@ -2052,28 +2052,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-temporary-id\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-temporary-id\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/smoke-test-tools.lock.yml b/.github/workflows/smoke-test-tools.lock.yml index 4b62d261402..6273f04b560 100644 --- a/.github/workflows/smoke-test-tools.lock.yml +++ b/.github/workflows/smoke-test-tools.lock.yml @@ -1748,28 +1748,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-test-tools\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-test-tools\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/smoke-update-cross-repo-pr.lock.yml b/.github/workflows/smoke-update-cross-repo-pr.lock.yml index 672cf2ea275..a7308d71e4c 100644 --- a/.github/workflows/smoke-update-cross-repo-pr.lock.yml +++ b/.github/workflows/smoke-update-cross-repo-pr.lock.yml @@ -1807,28 +1807,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"smoke-update-cross-repo-pr\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"smoke-update-cross-repo-pr\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); safe_outputs: diff --git a/.github/workflows/test-quality-sentinel.lock.yml b/.github/workflows/test-quality-sentinel.lock.yml index 23f6f04b5b8..50eed3446f2 100644 --- a/.github/workflows/test-quality-sentinel.lock.yml +++ b/.github/workflows/test-quality-sentinel.lock.yml @@ -1968,28 +1968,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"review\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"review\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/tidy.lock.yml b/.github/workflows/tidy.lock.yml index a51157cc16d..59a2cb778d1 100644 --- a/.github/workflows/tidy.lock.yml +++ b/.github/workflows/tidy.lock.yml @@ -1958,28 +1958,29 @@ jobs: GH_AW_INFO_VERSION: "1.0.75" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "copilot" - - name: Check team membership for command workflow - id: check_membership + - name: Check command position + id: check_command_position uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_REQUIRED_ROLES: "admin,maintainer,write" + GH_AW_COMMANDS: "[\"tidy\"]" with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); await main(); - - name: Check command position - id: check_command_position + - name: Check team membership for command workflow + id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - GH_AW_COMMANDS: "[\"tidy\"]" + GH_AW_REQUIRED_ROLES: "admin,maintainer,write" with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_membership.cjs'); await main(); push_evals_state: diff --git a/.github/workflows/unbloat-docs.lock.yml b/.github/workflows/unbloat-docs.lock.yml index bae8b1f826a..2394e793b3e 100644 --- a/.github/workflows/unbloat-docs.lock.yml +++ b/.github/workflows/unbloat-docs.lock.yml @@ -1928,8 +1928,20 @@ jobs: GH_AW_INFO_VERSION: "0.82.1" GH_AW_INFO_AWF_VERSION: "v0.27.42" GH_AW_INFO_ENGINE_ID: "pi" + - name: Check command position + id: check_command_position + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 + env: + GH_AW_COMMANDS: "[\"unbloat\"]" + with: + script: | + const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); + setupGlobals(core, github, context, exec, io, getOctokit); + const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); + await main(); - name: Check team membership for command workflow id: check_membership + if: steps.check_command_position.outputs.command_position_ok == 'true' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_REQUIRED_ROLES: "admin,maintainer,write" @@ -1953,17 +1965,6 @@ jobs: setupGlobals(core, github, context, exec, io, getOctokit); const { main } = require('${{ runner.temp }}/gh-aw/actions/check_skip_if_match.cjs'); await main(); - - name: Check command position - id: check_command_position - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 - env: - GH_AW_COMMANDS: "[\"unbloat\"]" - with: - script: | - const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io, getOctokit); - const { main } = require('${{ runner.temp }}/gh-aw/actions/check_command_position.cjs'); - await main(); push_evals_state: needs: