ProgrammerHumor

peakGithubActionsExperience

peakGithubActionsExperience

This shit took me 32 commits to get right 😭

https://i.redd.it/d39sfa9tokef1.png
Reddit

Discussion

Mewtwo2387
:js:

please use conventional commits:

ci: pls fucking work odjqoadiuwhshhwqiqlqn RRAHHH

4 hours ago
ATE47
:powershell::cp::j:

It won't work till you stop using words, usually dqfegwhro2 is the right commit, but the main fix was in hbjyrgrehzd

5 hours ago
Fleaaa

You can try locally with https://github.com/nektos/act but it just reduces the number of trial and error from my experience.. something is inherently and badly designed with GA

4 hours ago
Osmium_tetraoxide

This is what makes using GitHub actions decent, throw in linting your GitHub action files and read the damn docs.

3 hours ago
Fleaaa

Linting is the least issue of it, most of failure comes from inter platform aspect which is impossible to debug unless you start to build it

Act reduces this a bit but you gotta slap a bullet proof environment setup to make it work

2 hours ago
CalliNerissaFanBoy02

I had the same thing. I hate it.

I questioned my life and if CI/CD was a Good idea.

Tbf: I vibe CI/CD-ed

6 hours ago
Kingblackbanana

as soon as it works it will be the best idea ever unti it stops again

6 hours ago
Frinckles

lmao the existential crisis is real. but once it clicks, it clicks

4 hours ago
billyowo
:ts::js:

did god forbid you from using nektos/act

6 hours ago
YboMa2 OP

I’m ngl, u just saved a life by putting me on ts, thanks šŸ‘

5 hours ago
WhatTheTea
:cs::cp:

I had similar experience because I didn't know about 'act back then :P

On other hand, local runner configuration for windows pipelines with secrets sounds somewhat scary. Sometimes it's easier to throw actions at the wall))

5 hours ago
iHiep

I had the same experience when asking AI to build workflows for my repo :))))

6 hours ago
exoclipse
:powershell::j::vb:

what did we learn

6 hours ago
iHiep

Just read the docs

5 hours ago
exoclipse
:powershell::j::vb:

You learned well.

5 hours ago
JanB1

What an exchange. XD

5 hours ago
aRightQuant

At least GitLab has a built in ci linter. But no, who decided that submitting a dsl defined job to a central system was a good idea? Certainly not someone who'd worked on mainframes.

3 hours ago
donthitmeplez
:js:

man i had the same thing but on someone elses repo :sob: my man messaged me with a screenshot of like 30 failed jobs XD

3 hours ago
TheFranticDreamer
:c: :cp: :cs:

Try until it works Copy in another place manually Revert back to the first try Paste the working files back into the repo ... Profit

3 hours ago
NotSoProGamerR

if i were to mess with ci, i make sure to always amend extra changes, wouldn't want anyone to know i failed

3 hours ago
GrantSolar

The worst is trying to make changes to the action and testing it without committing the incomplete workflow changes to main

1 hour ago
spastical-mackerel

workflow_dispatch is your friend

1 hour ago
DespoticLlama

TIL what SMH means, I am so disappointed

30 minutes ago