Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add dependabot #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2

updates:
# Terraform - One entry per thing we want to scan as per https://github.com/dependabot/dependabot-core/issues/649
- package-ecosystem: "terraform" # DNS
directory: "/bestow-code/core_analysis/repository"
schedule:
interval: "daily"
- package-ecosystem: "terraform" # GKE Dev
directory: "/gke/dev"
schedule:
interval: "weekly"
14 changes: 14 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Terraform CI

on:
pull_request:

jobs:
validate:
name: Validate
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
- run: terraform init
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
terraform {
required_providers {
github = {
source = "integrations/github"
version = "~> 5.0"
}
}
}

import {
to = github_repository.core_analysis
id = "core_analysis"
}

resource "github_repository" "core_analysis" {
name = "core_analysis"
description = "core_analysis for dart"
Expand Down
File renamed without changes.