Skip to content

Commit 9290cab

Browse files
fix: unassign workflow (#2574)
Co-authored-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
1 parent 180fa5d commit 9290cab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/unassign-issue.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
days-before-close: -1 # Don't close stale issues
8686
exempt-issue-labels: ${{ env.PINNED_LABEL }}
8787
remove-stale-when-updated: false
88-
only-labels: ${{ env.ASSIGNED_LABEL }}
88+
include-only-assigned: true
8989

9090
- name: Unassign stale issues and remove labels
9191
uses: actions/github-script@v7
@@ -107,8 +107,7 @@ jobs:
107107
const staleIssues = await github.paginate(github.rest.issues.listForRepo, {
108108
owner, repo,
109109
state: 'open',
110-
labels: staleLabel,
111-
assignee: '*'
110+
labels: staleLabel
112111
});
113112
114113
for (const issue of staleIssues) {

0 commit comments

Comments
 (0)