latest 17 messages by ixxie
+
[2020-04-29T18:15:47Z]
ixxie
well thanks for the info anyway jhass :)
+
[2020-04-29T18:13:53Z]
ixxie
jhass: when a workflow is triggered on a pull request merge event, which branch will I have checked out?
+
[2020-04-29T18:13:00Z]
ixxie
ah yes makes sense
+
[2020-04-29T18:11:55Z]
ixxie
you need the deployment token?
+
[2020-04-29T18:01:51Z]
ixxie
jhass: is your API call code open-source? Can I have a link if it is?
+
[2020-04-29T18:01:30Z]
ixxie
jhass: yeah it seems there are no pretty solutions here...
+
[2020-04-29T17:49:07Z]
ixxie
there is the github actions/cache thing but it doesn't work for the merge events for some reason :/
+
[2020-04-29T17:48:23Z]
ixxie
and it seems a bit wasteful to rerun the build just for the merge event (its already been built once after all)
+
[2020-04-29T17:47:45Z]
ixxie
and it seems a bit silly to now start creating build artifacts for _every_ run of this
+
[2020-04-29T17:47:09Z]
ixxie
but what I am baffled about at the moment is how to make this efficient, i.e. I have a build / test pipeline which I want to run whenver a PR is created/update (no problem here), and assuming a merge I want to tag (add an autoincrementing semantic version to the merge commit) and publish (push a docker image to a registry)
+
[2020-04-29T17:45:20Z]
ixxie
jhass: I saw there is pull_request closed event for that, and that I can run steps conditional on if: github.event.pull_request.merged == true
+
[2020-04-29T17:44:37Z]
ixxie
I was thinking PR merge
+
[2020-04-29T17:44:25Z]
ixxie
aah right, didn't thing of it like tha
+
[2020-04-29T17:24:08Z]
ixxie
whats the recommended way to run a github worklow on merge?
+
[2020-04-21T21:32:35Z]
ixxie
Still stuck with the mysterious issue of why a github action is working in one repo but not when called from another.... https://gist.github.com/ixxie/aa68ba0e1fd507fc7fda9d7a6b6aff64
+
[2020-04-20T21:17:10Z]
ixxie
This issue with github actions has been driving me mad: https://gist.github.com/ixxie/aa68ba0e1fd507fc7fda9d7a6b6aff64 if anybody has any insights, I beg you to comment on the gist, because I am going mad here.
+
[2020-04-12T20:05:32Z]
ixxie
If I make a github action public and someone else uses it, it runs in their repo right?