Skip to content

chore(deps): bump release-please from 16.15.0 to 16.16.0 in /container-images/ci-tooling in the dev-ci-tools group across 1 directory #3322

chore(deps): bump release-please from 16.15.0 to 16.16.0 in /container-images/ci-tooling in the dev-ci-tools group across 1 directory

chore(deps): bump release-please from 16.15.0 to 16.16.0 in /container-images/ci-tooling in the dev-ci-tools group across 1 directory #3322

Workflow file for this run

# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
name: CI
# Controls when the workflow will run
on: # yamllint disable-line rule:truthy
# Triggers the workflow on pull request events but only for the main branch
pull_request:
branches: [main]
push: null
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch: null
permissions:
contents: read
jobs:
lint:
concurrency:
# Ref: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
# github.head_ref: head_ref or source branch of the pull request
# github.ref: ref of the branch that triggered the workflow
group: ${{ github.workflow }}-lint-${{ github.head_ref || github.ref }}-${{ github.event_name }}
cancel-in-progress: true
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write
steps:
- uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
- name: Load super-linter configuration
run: cat config/lint/super-linter.env >> "$GITHUB_ENV"
- name: Super-Linter
uses: super-linter/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
fix-lint-issues:
concurrency:
# Ref: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
# github.head_ref: head_ref or source branch of the pull request
# github.ref: ref of the branch that triggered the workflow
group: ${{ github.workflow }}-fix-lint-issues-${{ github.head_ref || github.ref }}-${{ github.event_name }}
cancel-in-progress: true
permissions:
# To write linting fixes
contents: write
# To write Super-linter status checks
statuses: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Load super-linter configuration
run: cat config/lint/super-linter.env >> "$GITHUB_ENV"
- name: Load super-linter fix mode configuration
run: cat config/lint/super-linter-fix-mode.env >> "$GITHUB_ENV"
- name: Super-Linter
uses: super-linter/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Commit and push linting fixes
if: >
github.event_name == 'pull_request' &&
github.ref_name != github.event.repository.default_branch
uses: stefanzweifel/[email protected]
with:
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
commit_message: "chore: fix linting issues"
commit_user_name: super-linter
commit_user_email: [email protected]
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
- name: Terraform Init
id: init
working-directory: terraform
run: terraform init
- name: Terraform validate
id: lint
working-directory: terraform
run: terraform validate