This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-08
Channels
- # announcements (6)
- # atom-editor (1)
- # babashka (21)
- # beginners (70)
- # clerk (4)
- # clj-kondo (71)
- # clj-yaml (1)
- # clojure (54)
- # clojure-art (1)
- # clojure-denmark (1)
- # clojure-dev (1)
- # clojure-doc (1)
- # clojure-europe (31)
- # clojure-nl (1)
- # clojure-norway (41)
- # clojure-uk (15)
- # clojurescript (36)
- # conjure (1)
- # cursive (2)
- # datomic (14)
- # duct (10)
- # emacs (12)
- # etaoin (176)
- # gratitude (25)
- # hyperfiddle (17)
- # jobs (1)
- # juxt (5)
- # london-clojurians (1)
- # malli (3)
- # nbb (21)
- # off-topic (29)
- # reitit (12)
- # releases (2)
- # remote-jobs (7)
- # shadow-cljs (9)
- # testing (9)
When one works alone, one can sometimes be ignorant that one is doing odd things. Example 1: Even when I had write privs to a GitHub repo, I'd work from a fork. I happened to notice @borkdude not working this way. And realized, doh, I could be working off branches in those GitHub repos. Example 2: For GitHub repos I maintain, I seem to only trigger CI tests when a user creates a PR and on a PR merge to the main branch. But again our @borkdude helped me to see that triggering CI tests on commits (from all forks and branches) will be helpful to folks to verify their work before submitting a PR. I'm not sure why I did not see these things, but whatevs, I see them now. Thanks @borkdude!
Anyhoo, in addition to being thankful, 2nd reason for sharing is that maybe others are doing the same odd things as I was. Just trying to spread the learnings!
Now... if I can just tell GitHub Actions to stop triggering a build for the same thing twice. It builds once for PR and another time for push. If I figure it out, I'll report back.
@UE21H2HHD is it that when you open a PR, you don't want it to kick off twice?
I don't know much about gh workflow but I wonder if this is what is needed
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
☝️ here we might be able to skip out one of those... for instance.. do not add opened
to to this listYeah, for that we also trigger on push:
. But the push:
and the pull_request:
synchronize
triggered twice for the same commit.
> extreme success Haha love that expression ⭐
is that martin fowler extreme? I'll steel it anyways!
Yep, that was where my programming brain went 😉
Sounds like a win!
Hey how arduous is it to setup a 2nd github org? I might want to test in the small with a forked repo. It is easy peasy lemon squeazy?
And if I do reach extreme success we might leave it around to serve as one way to go about this.