diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml new file mode 100644 index 0000000..2185ca4 --- /dev/null +++ b/.github/actionlint.yaml @@ -0,0 +1,9 @@ +paths: + # Accepted style advisories in existing templates. + "{compile,deploy,start-preview,close-preview,refresh,lightdash-validate}.yml": + ignore: + - "shellcheck reported issue" + # Genuine validity error tracked in PROD-10126; remove when that ticket is fixed. + close-preview.yml: + ignore: + - "invalid activity type \"merged\"" diff --git a/.github/workflows/lint-templates.yml b/.github/workflows/lint-templates.yml new file mode 100644 index 0000000..c2bfed8 --- /dev/null +++ b/.github/workflows/lint-templates.yml @@ -0,0 +1,17 @@ +name: Lint workflow templates + +on: + pull_request: + push: + branches: + - main + +jobs: + actionlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - name: Lint root-level workflow templates + uses: docker://rhysd/actionlint:1.7.12 + with: + args: compile.yml deploy.yml start-preview.yml close-preview.yml refresh.yml lightdash-validate.yml diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..fe431d1 --- /dev/null +++ b/renovate.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended"], + "github-actions": { + "managerFilePatterns": [ + "/^(?:compile|deploy|start-preview|close-preview|refresh|lightdash-validate)\\.yml$/" + ] + } +}