Different label based on new/changed/removed
See original GitHub issueI was wondering if it is either possible or desired to have a feature to: configure a label based on whether a file was newly created vs. a file was changed (vs. a file was removed).
In configuration I would imagine this could be written as follows:
"label on add":
- on: added
- example/**/*
"label on change":
- on: modified
- example/**/*
"label on remove":
- on: removed
- example/**/*
"label on multiple":
- on:
- added
- modified
- removed
- example/**/*
"or if you don't care":
- example/**/*
"and even": example/**/*
I have a working prototype at ericcornelissen/labeler (example PR added, example PR modified) which I could turn into a Pull Request for this project if there is more interest in this 😄
In practice I want to use this in simple-icons/simple-icons to label Pull Requests with either new icon
or icon outdated
based on whether a new icon was added or an icon was updated (respectively)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:10
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Debug Adapter Protocol - Microsoft Open Source
The Debug Adapter Protocol defines the protocol used between an editor or IDE and a debugger or runtime. A machine-readable JSON schema can...
Read more >aris - report script changes - Software AG Documentation
Other company and product names mentioned herein may be trademarks of their ... New/changed/removed/deprecated constants New Changed Removed Deprecated.
Read more >SCM - Software Configuration Management - IS MUNI
Source code and configuration versioning itself as well as labelling technique is wide spread in IT world of software development.
Read more >Ability to load locations into the geowidget to guide data ...
We have already developed a different Mapbox based Geowidget capable ... If a feature has previously been selected, its label (from the name ......
Read more >NiFi Rest API-1.19.1 - Apache NiFi
Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@SpencerKaiser and @ogtony, I opened a PR for this feature 👍
I would love to see this issue implemented because I’d like to remove the
changes requested
label whenever a commit is pushed to a PR I’ve reviewed.