Replies: 7 comments 43 replies
-
I think it would be a nice feature, yes! Even if it would just nicely integrate into GHA, then (even though Also, does it need to be a JS action; it can't just be a "composite run steps action"? (I'm guessing the dependabot won't work then? But no experience, so just checking to be explicit, here.)
Adding options, instead of stuffing them into environment variables, maybe? - uses: joerick/[email protected]
with:
args: .
options:
CIBW_SKIP: cp27-*
# Etc Not sure if that now makes it so much cleaner than just an extra step to set the environment variables, though... |
Beta Was this translation helpful? Give feedback.
-
Maybe also provide Azure Pipelines Template https://docs.microsoft.com/en-us/azure/devops/pipelines/process/templates?view=azure-devops Github actions still do not provide an option for restart a single job (for example after network faliture) |
Beta Was this translation helpful? Give feedback.
-
Idea 2: we could add a pre-commit action instead. This would look like: repos:
- repo: https://github.com/joerick/cibuildwheel
rev: v1.7.1
hooks:
- id: cibuildwheel
files: .github/workflows/myaction.yml The action would search and replace for A little more "hacky", but would work with all CIs, and we could have reasonable defaults for the files so that most common CI files would be picked up. |
Beta Was this translation helpful? Give feedback.
-
Idea 3: we could write an update workflow example similar to #490 that users could add that would run on some frequency. This would be the least elegant but most flexible (and no change to cibuildwheel other than adding an example). |
Beta Was this translation helpful? Give feedback.
-
If we're only talking about pinning/updating
I just received an update for |
Beta Was this translation helpful? Give feedback.
-
@joerick this is what the dependabot update looks like, notice the changelog: |
Beta Was this translation helpful? Give feedback.
-
@joerick Should we "publish" our action in the GitHub marketplace? I see "Publish this Action to Marketplace |
Beta Was this translation helpful? Give feedback.
-
I'd like to propose we add a Javascript action file for cibuildwheel. It would look like this:
Maybe we could come up with some useful features here (at at least it does combine the download and run step), but there's one very useful feature this alone gives us - dependabot support! You can setup GitHub's dependabot to update your actions files once a day, a week, or a month, and it makes a PR whenever actions update. See scikit-hep/boost-histogram#466.
It does support Python as well, but I don't know a way to get it to look into an action file for
pip install cibuildwheel==X
and update X.I've seen a lot of old pinned versions of cibuildwheel around when looking at projects, this would give a way for them to opt in to automatic updates in a controlled (PR) fashion.
Thoughts? Any reason this might not work?
Beta Was this translation helpful? Give feedback.
All reactions