Skip to content

Commit

Permalink
github: Set up Dependabot to manage HashiCorp-owned Actions versions (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
xiehan committed May 13, 2024
1 parent 11f603e commit 4a9d1e7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Expand Up @@ -5,3 +5,20 @@ updates:
schedule:
interval: "daily"
labels: ["dependencies"]
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
labels:
- dependencies
# only update HashiCorp actions, external actions managed by TSCCR
allow:
- dependency-name: hashicorp/*
groups:
github-actions-breaking:
update-types:
- major
github-actions-backward-compatible:
update-types:
- minor
- patch
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install copywrite
uses: hashicorp/setup-copywrite@v1.1.2
uses: hashicorp/setup-copywrite@867a1a2a064a0626db322392806428f7dc59cb3e # v1.1.2
- name: Validate Header Compliance
run: copywrite headers --plan

Expand Down Expand Up @@ -51,4 +51,4 @@ jobs:
- name: Go mod verify
run: go mod verify
- name: Run tests
run: go test -v ./...
run: go test -v ./...

0 comments on commit 4a9d1e7

Please sign in to comment.