Skip to content

Commit

Permalink
Merge pull request #36 from ministryofjustice/main
Browse files Browse the repository at this point in the history
Updating branch with latest changes to main
  • Loading branch information
tom-j-smith authored Aug 14, 2024
2 parents d3e056d + 73f74e5 commit c8e1ec1
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 4 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "terraform"
directory: "/"
schedule:
interval: "monthly"
11 changes: 11 additions & 0 deletions .github/workflows/dependencies-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Add dependencies to Cloud Platform project

on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'

jobs:
add-dependabot-to-project:
uses: ministryofjustice/cloud-platform-github-workflows/.github/workflows/dependencies-project.yml@main
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Render terraform docs and push changes back to PR
uses: terraform-docs/gh-actions@v1.0.0
uses: terraform-docs/gh-actions@v1.2.0
with:
working-dir: .
output-file: README.md
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-terraform-module-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
push-terraform-module-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ministryofjustice/cloud-platform-environments/cmd/push-terraform-module-version@main
env:
API_URL: ${{ vars.TERRAFORM_MODULE_VERSIONS_API_URL }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
Expand Down

0 comments on commit c8e1ec1

Please sign in to comment.