Skip to content

Commit

Permalink
Merge pull request #4 from RolfMoleman/dependabot/terraform-1.7.2
Browse files Browse the repository at this point in the history
Dependabot/terraform 1.7.2
  • Loading branch information
RolfMoleman authored Feb 1, 2024
2 parents 7799304 + 14fc3e1 commit 42fd5c5
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ updates:
timezone: "Europe/London"

- package-ecosystem: "terraform"
directory: "/dummy_terraform/"
directory: "/terraform/"
schedule:
interval: "daily"
time: "23:00"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ jobs:
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Commit changes to terraform.nuspec
- name: Commit and push changes to terraform.nuspec
working-directory: ./terraform
run: |
git add terraform.nuspec
git commit -m "[dependabot skip] Update terraform.nuspec"
git push origin ${{ github.head_ref }}
job2:
name: "renovate-auto-update"
Expand All @@ -47,6 +48,37 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install AU Module
run: |
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module AU
Get-Module AU -ListAvailable
- name: build package
shell: pwsh
working-directory: ./terraform
run: ./update.ps1

- name: Configure git
working-directory: ./terraform
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Commit and push changes to terraform.nuspec
working-directory: ./terraform
run: |
git add terraform.nuspec
git commit -m "Update terraform.nuspec"
git push origin ${{ github.head_ref }}
job3:
name: "user-update"
runs-on: windows-latest
if: ${{ startsWith(github.ref, 'refs/heads/release/') }}
steps:
- uses: actions/checkout@v4

- name: Install AU Module
run: |
Set-PSRepository PSGallery -InstallationPolicy Trusted
Expand All @@ -69,3 +101,4 @@ jobs:
run: |
git add terraform.nuspec
git commit -m "Update terraform.nuspec"
git push origin ${{ github.head_ref }}
29 changes: 0 additions & 29 deletions .github/workflows/autoupdate_terraform.yml

This file was deleted.

3 changes: 0 additions & 3 deletions dummy_terraform/versions.tf

This file was deleted.

0 comments on commit 42fd5c5

Please sign in to comment.