[ 
https://issues.apache.org/jira/browse/DIRMINA-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18085934#comment-18085934
 ] 

Emmanuel Lécharny commented on DIRMINA-1197:
--------------------------------------------

Hi!

the ci.yaml file has been created a long time ago.
Currently, we are using the following branches:
* 2.0.X (Java 1.8)
* 2.1.X (Java 1.8)
* 2.2.X (Java 17 and upper, so 17, 21 and 25 currently)

Trunk is actually a dead branch, and should probably be renamed to reflect its 
status.

Sorry, I still have to jump intoi GH actions, I know absolutely nothing about 
it...

> Fix abandoned GitHub Actions
> ----------------------------
>
>                 Key: DIRMINA-1197
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1197
>             Project: MINA
>          Issue Type: Improvement
>            Reporter: Piotr Karwasz
>            Priority: Major
>
> Many workflows in {{apache/mina}} seem abandoned.
> Currently only two branches carry a workflow, both the single file 
> {{{}.github/workflows/ci.yaml{}}}:
>  * {{trunk}} (last modified 2020-10-12)
>  * {{2.2.X}} (last modified 2023-04-30)
> Branches {{2.0.X}} and {{2.1.X}} have no workflows at all. Meanwhile all four 
> branches received commits as recently as 2026-06-01, so the workflow files 
> have sat untouched for 3 to 5 years against actively developed code.
> Both {{ci.yaml}} files use sunset runners and obsolete actions, so they can 
> no longer run on current GitHub infrastructure:
>  * {{runs-on}} requests {{ubuntu-18.04}} (fully removed in April 2023) and 
> {{windows-2016}} (also removed). Jobs pinned to these labels can no longer be 
> scheduled and fail immediately.
>  * Steps use {{actions/checkout@v1}} and {{{}actions/setup-java@v1{}}}, both 
> deprecated Node 12 era actions. The current majors are v4/v5.
>  * The trigger is {{on: [push]}} with no branch or path filter, so it 
> attempts to run on every push to every branch, including {{bugfix/*}} and 
> experimental branches.
> I can help modernizing the workflows, but I would need to know which branches 
> should run workflows on {{{}push{}}}. Is it {{{}2.0.X{}}}, {{{}2.1.X{}}}, 
> {{2.2.X}} and {{{}trunk{}}}? Note that {{2.0.X}} and {{2.1.X}} currently have 
> none, so please confirm whether they should gain one.
> Note that workflows should be updated regularly, especially since all actions 
> except those from the {{actions}} and {{github}} organisation need to be 
> whitelisted by the ASF. If there are many active development branches, it 
> might be useful to host *reusable* workflows in one specialized branch (e.g. 
> {{{}gha/v1{}}}) and only refer to them from other branches.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to