diff --git a/.github/workflows/issue-monster.lock.yml b/.github/workflows/issue-monster.lock.yml index 8a36d95e..684ee0ac 100644 --- a/.github/workflows/issue-monster.lock.yml +++ b/.github/workflows/issue-monster.lock.yml @@ -23,6 +23,9 @@ name: "Issue Monster" "on": + issues: + types: + - opened schedule: - cron: "52 */1 * * *" # Friendly format: every 1h (scattered) @@ -38,7 +41,7 @@ permissions: pull-requests: read concurrency: - group: "gh-aw-${{ github.workflow }}" + group: "gh-aw-${{ github.workflow }}-${{ github.event.issue.number }}" run-name: "Issue Monster" @@ -79,8 +82,6 @@ jobs: contents: read issues: read pull-requests: read - concurrency: - group: "gh-aw-copilot-${{ github.workflow }}" env: GH_AW_MCP_LOG_DIR: /tmp/gh-aw/mcp-logs/safeoutputs GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl @@ -988,8 +989,6 @@ jobs: if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} - concurrency: - group: "gh-aw-copilot-${{ github.workflow }}" timeout-minutes: 10 outputs: success: ${{ steps.parse_results.outputs.success }} diff --git a/.github/workflows/issue-monster.md b/.github/workflows/issue-monster.md index 1f540b18..4c8b5b06 100644 --- a/.github/workflows/issue-monster.md +++ b/.github/workflows/issue-monster.md @@ -2,6 +2,8 @@ name: Issue Monster description: The Cookie Monster of issues - assigns issues to Copilot agents one at a time on: + issues: + types: [opened] workflow_dispatch: schedule: every 1h skip-if-match: