renovatebot / renovatebot/github-action
Support `docker-cmd` option for renovate-config-validator
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 546
- Forks
- 115
- Avg merge
- 19h 4m
- Merged PRs (30d)
- 10
Description
Background
We use this action for renovate-config-validator as well.
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- run: |
echo "$script" > renovate-config-validator.sh
chmod +x renovate-config-validator.sh
env:
script: |
#!/bin/bash
set -eux -o pipefail
exec renovate-config-validator /workspace/renovate.*
- uses: renovatebot/github-action@a889a8abcb11ef7feaafaf5e483ea01d4bf7774e # v43.0.5
with:
token: ${{ secrets.GITHUB_TOKEN }}
docker-cmd-file: renovate-config-validator.sh
docker-volumes: ${{ github.workspace }}:/workspace
Feature request
It would be nice if it can pass the docker command directly.
For example, if this action supports docker-cmd, the workflow would be like:
- uses: renovatebot/github-action@a889a8abcb11ef7feaafaf5e483ea01d4bf7774e # v43.0.5
with:
token: ${{ secrets.GITHUB_TOKEN }}
docker-cmd: renovate-config-validator /workspace/renovate.*
docker-volumes: ${{ github.workspace }}:/workspace
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how action inputs invoke the Docker command and how the existing docker-cmd-file option is handled. Add support for passing the requested docker-cmd value directly while preserving docker-volumes; done means the example workflow can run renovate-config-validator without creating a shell script.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, github-actions, typescript
- Domain
- ci-cd, devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100