Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Configuring Stale with Github Labels with Emoji #104

Closed
bmuenzenmeyer opened this issue Mar 2, 2018 · 3 comments
Closed

Configuring Stale with Github Labels with Emoji #104

bmuenzenmeyer opened this issue Mar 2, 2018 · 3 comments

Comments

@bmuenzenmeyer
Copy link

Could you provide an example of how to configure stale.yml with Github's new emoji in labels?

exemptLabels:
  - pinned ⚓️

or

exemptLabels:
  - pinned :anchor:

Thanks!!!

@LeoNatan
Copy link

LeoNatan commented Mar 7, 2018

It's already supported as can be seen here:
https://github.com/wix/detox/blob/master/.github/stale.yml

Use "" when using an emoji.

GitHub
detox - Gray Box E2E Tests and Automation Library for Mobile Apps

@bmuenzenmeyer
Copy link
Author

Thanks!

@snipe
Copy link

snipe commented Dec 11, 2018

Sorry to resurrect this one, but I'm having an issue ever since we added emoji to the labels. Issues that shouldn't ever be closed (exempt) are still being marked as stale and/or closed.

My stale.yml:

# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
  - pinned
  - security
  - :woman_technologist: ready for dev
  - :moneybag: bounty
  - :hand: bug
  - "🔐 security"
  - "👩‍💻 ready for dev"
  - "💰 bounty"
  - "✋ bug"

exemptMilestones: true

# Label to use when marking an issue as stale
staleLabel: stale

only: issues

# Comment to post when removing the stale label.
unmarkComment: >
  Okay, it looks like this issue or feature request might still be important. We'll re-open
  it for now. Thank you for letting us know!

# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
  Is this still relevant? We haven't heard from anyone in a bit. If so,
  please comment with any updates or additional detail.

  This issue has been automatically marked as stale because it has not had
  recent activity. It will be closed if no further activity occurs. Don't
  take it personally, we just need to keep a handle on things. Thank you
  for your contributions!
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: >
  This issue has been automatically closed because it has not had
  recent activity. If you believe this is still an issue, please confirm that
  this issue is still happening in the most recent version of Snipe-IT and reply
  to this thread to re-open it.

You can see an example of a issues affected by this here:
snipe/snipe-it#3286
snipe/snipe-it#5881

Am I missing something obvious? (It's entirely possible that I am)

Thanks in advance, and thanks for such a useful bot!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants