-
-
Notifications
You must be signed in to change notification settings - Fork 62.3k
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
ci(pinner): Create issues-pinner.yml
workflow
#7056
ci(pinner): Create issues-pinner.yml
workflow
#7056
Conversation
To monitor pin/unpin issue events and add/remove state labels accordingly
Co-authored-by: ImVector <[email protected]>
do you know of another repo where this is done? |
any comments, @mohitsaxenaknoldus ? |
Not directly. But workflow is easy to newbies. I apply some merged knowledges:
|
A job cleanup is made. Instead have defined 3 jobs we have 3 steps. It seems go a bit faster Tests over |
please add a header comment in the code that describes the purpose of the action and exactly what it does. |
This workflow adds a label to an issue when is pinned and removes it when unpinned. The label is enhanced with stale.yml workflow. Pinned issues never stales due to the label is declared as exemption |
that helps. now add it to the file |
Done 01663e6 |
Nice work |
What does this PR do?
For resources
Description
A workflow to monitor pin/unpin issue event types and add/remove state labels accordingly
Needs declare a new label:
📌 pinned
:pushpin: pinned
Resolves #7055
Workflow runs:
- Tested with davorpa#16 issue
- https://github.com/davorpa/free-programming-books/actions/runs/2983767547
- https://github.com/davorpa/free-programming-books/actions/runs/2983768434
- https://github.com/davorpa/free-programming-books/actions/runs/2983769061
- https://github.com/davorpa/free-programming-books/actions/runs/2983769167
Checklist:
Follow-up