Skip to content

Support docker-cmd option for renovate-config-validator #948

@int128

Description

@int128

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions