Prevent branches from being merged that have a -dev suffix on the version number #2

Open
opened 2024-04-18 13:43:58 +00:00 by Firepup650 · 17 comments
Owner

I'm not sure how/if this is possible, but it would be a nice sanity check.

I'm not sure how/if this is possible, but it would be a nice sanity check.
Firepup650 added the
Kind/Enhancement
Priority
Low
labels 2024-04-18 13:44:13 +00:00
Author
Owner

@9pfs any ideas on this?

@9pfs any ideas on this?
Collaborator

If you disable pushes for the main branch and only do PRs, maybe you could use forgejo actions

If you disable pushes for the main branch and only do PRs, maybe you could use forgejo actions
Author
Owner

I mean I don't exactly want to do that, I mean if something is PR'd, don't allow it to be merged unless it doesn't contain -dev in the version

Essentially:

  1. I should still be able to push as I need to, regardless
  2. Any PR's should be blocked from merging if they're a -dev version
I mean I don't exactly want to do that, I mean if something is PR'd, don't allow it to be merged unless it doesn't contain `-dev` in the version Essentially: 1. I should still be able to push as I need to, regardless 2. Any PR's should be blocked from merging if they're a `-dev` version
Author
Owner

Also I should have people update version numbers, I guess

Also I should have people update version numbers, I guess
Firepup650 changed title from Prevent branches from being merged that add a -dev suffix to the version number to Prevent branches from being merged that have a -dev suffix on the version number 2024-04-18 17:26:21 +00:00
Collaborator

I mean I don't exactly want to do that, I mean if something is PR'd, don't allow it to be merged unless it doesn't contain -dev in the version

Essentially:

  1. I should still be able to push as I need to, regardless
  2. Any PR's should be blocked from merging if they're a -dev version

Could you just use forgejo actions then?

> I mean I don't exactly want to do that, I mean if something is PR'd, don't allow it to be merged unless it doesn't contain `-dev` in the version > > Essentially: > 1. I should still be able to push as I need to, regardless > 2. Any PR's should be blocked from merging if they're a `-dev` version > Could you just use forgejo actions then?
Author
Owner

idk how to do that @9pfs, could you set one up?

idk how to do that @9pfs, could you set one up?
Collaborator

idk how to do that @9pfs, could you set one up?

Where would the forgejo actions runner be running?

> idk how to do that @9pfs, could you set one up? Where would the forgejo actions runner be running?
Author
Owner

Where would the forgejo actions runner be running?

Huh? What do you mean?

> Where would the forgejo actions runner be running? Huh? What do you mean?
Collaborator

Where would the forgejo actions runner be running?

Huh? What do you mean?

You'd have to have a forgejo actions runner somewhere to run workflows

> > Where would the forgejo actions runner be running? > > Huh? What do you mean? You'd have to have a forgejo actions runner somewhere to run workflows
Author
Owner

You'd have to have a forgejo actions runner somewhere to run workflows

Uh. idk what that would entail exactly, idek what that is

> You'd have to have a forgejo actions runner somewhere to run workflows Uh. idk what that would entail exactly, idek what that is
Collaborator

You'd have to have a forgejo actions runner somewhere to run workflows

Uh. idk what that would entail exactly, idek what that is

https://forgejo.org/docs/latest/user/actions/

> > You'd have to have a forgejo actions runner somewhere to run workflows > > Uh. idk what that would entail exactly, idek what that is https://forgejo.org/docs/latest/user/actions/
Author
Owner
> https://forgejo.org/docs/latest/user/actions/ That's a large document.
Collaborator

https://forgejo.org/docs/latest/user/actions/

That's a large document.

suggests trying the quick start

> > https://forgejo.org/docs/latest/user/actions/ > > That's a large document. _suggests trying the quick start_
Author
Owner

suggests trying the quick start

That doesn't even mention how to set up a runner thingy, just how to do a demo workflow

> _suggests trying the quick start_ That doesn't even mention how to set up a runner thingy, just how to do a demo workflow
Collaborator

suggests trying the quick start

That doesn't even mention how to set up a runner thingy, just how to do a demo workflow

https://forgejo.org/docs/latest/admin/actions/#forgejo-runner

> > _suggests trying the quick start_ > > That doesn't even mention how to set up a runner thingy, just how to do a demo workflow https://forgejo.org/docs/latest/admin/actions/#forgejo-runner
Author
Owner

https://forgejo.org/docs/latest/admin/actions/#forgejo-runner

I mean I wouldn't run that on fpi for fear of it burning a lot of my limited CPU, could you get instructions so I could set it up on nest when I have time?

> https://forgejo.org/docs/latest/admin/actions/#forgejo-runner I mean I wouldn't run that on fpi for fear of it burning a lot of my limited CPU, could you get instructions so I could set it up on nest when I have time?
Author
Owner

As a side note, there's a reason there's low priority on this, I don't really want to bother setting it up, it'd just be nice to have.

As a side note, there's a reason there's low priority on this, I don't really want to bother setting it up, it'd just be nice to have.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Firepup650/FireBot#2
No description provided.