8000 [skip changelog] Update "stale bot" GHA workflow to use new enabling label by per1234 · Pull Request #1226 · arduino/arduino-cli · GitHub
[go: up one dir, main page]

Skip to content

[skip changelog] Update "stale bot" GHA workflow to use new enabling label #1226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 18, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[skip changelog] Update "stale bot" GHA workflow to use new enabling …
…label

The "waiting for feedback" label was renamed "status: waiting for information" to comply with the standardized tooling
label system, but this label name was missed when updating the workflow to reflect the change.
  • Loading branch information
per1234 committed Mar 18, 2021
commit 934bb1b80dca0ef79c780e2f69a0fa8d0a4535dd
6 changes: 4 additions & 2 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
types: ["created"]

env:
# Name of the label that makes issues subject to the stale bot.
STALE_ENABLE_LABEL: "status: waiting for information"
# Name of the label used to mark issues as stale.
STALE_LABEL: "status: stale"

Expand All @@ -21,11 +23,11 @@ jobs:
with:
github-token: ${{github.token}}
script: |
// Get a list of all open issues labeled `waiting for feedback`
// Get a list of all open issues labeled as waiting for feedback
const opts = github.issues.listForRepo.endpoint.merge({
...context.repo,
state: 'open',
labels: ['waiting for feedback'],
labels: ['${{ env.STALE_ENABLE_LABEL }}'],
});
const issues = await github.paginate(opts);

Expand Down
0