chore(deps): update dependency terraform to v1.6.1 #3547
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dependency spec updates | |
on: pull_request | |
jobs: | |
package-specs: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/cloudfoundry/app-autoscaler-release-tools:main | |
if: contains(fromJson('["dependabot[bot]", "renovate[bot]"]'), github.event.pull_request.user.login) && contains(github.event.pull_request.labels.*.name, 'dependencies') | |
steps: | |
- uses: actions/checkout@v4 | |
- name: package-specs | |
shell: bash | |
run: | | |
#! /usr/bin/env bash | |
set -eu -o pipefail | |
make --directory='./src/acceptance/assets/app/go_app' generate-fakes | |
make --directory='./src/autoscaler' generate-fakes | |
make package-specs | |
- name: Check if there are changes | |
id: changes | |
run: echo "changed=$(git status --porcelain | wc -l)" >> $GITHUB_ENV | |
- name: Process changes | |
if: steps.changes.outputs.changed != 0 | |
uses: EndBug/add-and-commit@v9 # You can change this to use a specific version. | |
with: | |
add: './packages/**/spec' | |
message: 'Updating spec files from `dependabot[bot]` changes' | |
push: true |