Skip to content

Commit a7ee2d3

Browse files
committed
feat: Add 'skip_copilot_assignment' input
1 parent ecd51c8 commit a7ee2d3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ Trigger the workflow manually or automatically based on your configuration. The
9696
| `repository` | Yes | Repository (with owner) for issues and PRs | `primer/primer-docs` |
9797
| `token` | Yes | PAT with write permissions (see above) | `${{ secrets.GH_TOKEN }}` |
9898
| `cache_key` | No | Custom key for caching findings across runs<br>Allowed: `A-Za-z0-9._/-` | `cached_findings-main-primer.style.json` |
99+
| `skip_copilot_assignment` | No | Whether to skip assigning filed issues to Copilot | `true` |
99100

100101
---
101102

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ inputs:
1515
cache_key:
1616
description: "Custom key for caching findings across runs"
1717
required: false
18+
skip_copilot_assignment:
19+
description: "Whether to skip assigning filed issues to Copilot"
20+
required: false
21+
default: "false"
1822

1923
runs:
2024
using: "composite"
@@ -48,7 +52,8 @@ runs:
4852
repository: ${{ inputs.repository }}
4953
token: ${{ inputs.token }}
5054
cached_findings: ${{ steps.restore.outputs.value }}
51-
- name: Fix
55+
- if: ${{ inputs.skip_copilot_assignment != 'true' }}
56+
name: Fix
5257
id: fix
5358
uses: ./.github/actions/fix
5459
with:

0 commit comments

Comments
 (0)