Skip to content

Commit

Permalink
Configure dependabot and actionlint
Browse files Browse the repository at this point in the history
  • Loading branch information
shore committed Aug 9, 2024
1 parent 9a9ce39 commit 8138ad6
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
---
version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
# Only update hashicorp-owned actions
# External actions managed via TSCCR
allow:
- dependency-name: "hashicorp/*"
groups:
github-actions-breaking:
update-types:
- major
github-actions-backward-compatible:
update-types:
- minor
- patch

- package-ecosystem: "gomod"
directory: "/"
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Lint GitHub Actions Workflows

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

on:
push:
paths:
- '.github/workflows/**'

permissions:
contents: read

jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: "Check workflow files"
uses: docker://docker.mirror.hashicorp.services/rhysd/actionlint:latest
with:
args: -color

0 comments on commit 8138ad6

Please sign in to comment.