diff --git a/.github/workflows/lint-workflow.yaml b/.github/workflows/lint-workflow.yaml index 1e210ec..12fc6a9 100644 --- a/.github/workflows/lint-workflow.yaml +++ b/.github/workflows/lint-workflow.yaml @@ -1,6 +1,8 @@ name: Lint GitHub Actions workflows on: pull_request: + paths: + - .github/** permissions: contents: read diff --git a/.github/workflows/validate-renovate-config.yaml b/.github/workflows/validate-renovate-config.yaml new file mode 100644 index 0000000..7180d70 --- /dev/null +++ b/.github/workflows/validate-renovate-config.yaml @@ -0,0 +1,17 @@ +name: Validate Renovate config + +on: + pull_request: + paths: + - renovate.json + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + - name: Validate Renovate config + uses: suzuki-shunsuke/github-action-renovate-config-validator@c22827f47f4f4a5364bdba19e1fe36907ef1318e # v1.1.1 + with: + config_file_path: renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..2922f68 --- /dev/null +++ b/renovate.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["github>tailor-inc/renovate-config"] +}