Comments (8)
Does this work for you?
[repository.pull-request]
WORK_IN_PROGRESS_PREFIXES = WIP:,[WIP],Draft:,[Draft]
from gitea.
Almost, but I would like to also get rid of the PR title modification too.
Maybe we can make it work by setting WORK_IN_PROGRESS_PREFIXES
to the empty string, but I suspect the detection of the status may be based on the title prefix, e.g. no separate DB field.
from gitea.
Hmm .... I see your point. To me, I like adding a prefix to the PR. For example, when I browse the PR list, I can't easily figure out different PRs by the icons (which is draft, which is not), I mainly depends on the title & prefix.
If it would get rid of the PR title modification .... it seems to need a lot of work ...... IIRC the current approach heavily depends on the prefix.
from gitea.
For me, icon alone is enough indication. Yes it would require more work because a new DB field needs to be added and a new event type for draft status. So instead of
we would see " marked the pull request as draft" and " marked the pull request as ready for review".
from gitea.
Reason for the change is also that it might be possible that in the future, workflows may be ran when pull request title changes (like spellcheck), and the current "abuse" of the title would cause such workflows to unnecessarily run.
from gitea.
Reason for the change is also that it might be possible that in the future, workflows may be ran when pull request title changes (like spellcheck), and the current "abuse" of the title would cause such workflows to unnecessarily run.
It sounds more like a workflow's bug. IMO the "title modification" shouldn't trigger a workflow --- does it really make sense? 🤔
from gitea.
If you want to spellcheck a PR title, you have'd such a hypothetical event like on: title_change
😆.
from gitea.
It seems to be possible on GitHub at least: https://github.com/orgs/community/discussions/48695
from gitea.
Related Issues (20)
- 'workflow_dispatch' is important for a complete CI tool HOT 1
- Record in comments when an issue is moved into Kanban board HOT 2
- LFS client version too old
- Timeline avatars of code comments on pull request page doesn't not align vertically.
- Checkbox color is not correct after click HOT 1
- Failure in Gitea API when using labeler Github action HOT 3
- Overflow of contributions on home page (month of the heatmap) when a new month starts HOT 4
- Commit hashes are different sizes and overflow on homepage HOT 2
- RepoEdit via API fails with "repo is not a mirror, can not change mirror interval" HOT 7
- Updating the GitHub auth_token in the repo's Mirror Settings using the API HOT 1
- CSRF validation errors when OAuth is not enabled HOT 2
- Add MSSQL Secure Database Connection Support
- collaborators API endpoint does not list team members in a repo owned by an organization
- Automatically update Gitea Actions in every repo
- docker-compose.yaml HOT 1
- Incorrect migration protocol from Gitlab HOT 2
- repo directory path styles HOT 1
- Generalizing the functionality for adding members in the members tab for organizations. HOT 1
- Option To Sign Web Interface Commits As Author And Not As System
- Show WebAuthn last usage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitea.