Skip to content

Commit

Permalink
Merge pull request #1846 from govuk-one-login/BAU/dependabot-changes
Browse files Browse the repository at this point in the history
BAU: Dependabot should also check sidecar docker
  • Loading branch information
whi-tw committed Jul 19, 2024
2 parents 4cff449 + c226d83 commit f46b81e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ updates:
commit-message:
prefix: BAU
- package-ecosystem: docker
directory: "/"
directories:
- "basic-auth-sidecar"
- "/"
schedule:
interval: daily
time: "03:00"
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/dependabot-validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Validate Dependabot

on:
pull_request:
paths:
- ".github/dependabot.yml"
- ".github/workflows/dependabot-validate.yml"
jobs:
validate:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: marocchino/validate-dependabot@d8ae5c0d03dd75fbd0ad5f8ab4ba8101ebbd4b37 # v3.0.0
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ repos:
hooks:
- id: actionlint

- repo: https://github.com/lalten/check-gha-pinning
rev: v1.1.0
hooks:
- id: check-gha-pinning
# Skip git check for now until subdirectory support is added (#1)
entry: env GHA_PINNING_SKIP_GIT_CHECK=1 check-gha-pinning

- repo: local
hooks:
- id: eslint
Expand Down

0 comments on commit f46b81e

Please sign in to comment.