Jacob T. Jove
Jacob T. Jove
Sorry, I'm not sure exactly what it would look like to "use the docker image"... I think this is a really cool project, by the way. What I actually want...
I added the following to my docker-compose.yml: ``` github_workflow_preprocessor: command: python -m actions_includes ./.github/workflows-src/integration.yml ./.github/workflows/integration.yml entrypoint: '' image: ghcr.io/mithro/actions-includes/image:main user: root volumes: - .:/github/workspace ``` But, when I ran `docker-compose...
@mithro, how do you expect for `actions_includes` to normally be used? (Do you expect it to be installed via pip? If so, is it only available to people using Python...
@mithro, I pulled the updated image and tried again. Closer this time! But I got another error: ``` Recreating modularhistory_github_workflow_preprocessor_1 ... done Attaching to modularhistory_github_workflow_preprocessor_1 github_workflow_preprocessor_1 | Expanding ./.github/workflows-src/integration.yml into...
It worked! And I successfully set up a pre-commit git hook (see https://pre-commit.com) to preprocess my workflow files before pushing to main. Here's what I added to my `.pre-commit-config.yaml` (see...
@mithro, sure, after I've tested that my setup is working correctly, I'll send documentation updates.
@mithro, I've noticed a small error in the documentation. It says, > As you frequently want to include local actions, actions-includes extends the {action-name} syntax to also support; /{name} -...
When I tried using `includes` to include a composite action in my workflow (which I was not doing previously), I encountered this error: ``` github_workflow_preprocessor_1 | Loading yaml file /github/workspace/.github/workflows-src/integration.yml...
Thank you @mithro. I'll create a pull request shortly to add info about using a pre-commit hook. One more issue that I'm running into: if I try to use a...
`if: ${{ steps.venv-cache.outputs.cache-hit != 'true' || failure() }}` Perhaps I'm doing something wrong here?