Skip to content

Commit

Permalink
chore(ci): fix yaml syntax (#8448)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahdietz authored Aug 18, 2023
1 parent 255bdf2 commit ecda568
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/action_syntax.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: action_syntax
on: [pull_request]

permissions:
pull-requests: write

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: reviewdog/action-actionlint@v1
12 changes: 6 additions & 6 deletions .github/workflows/new_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.20.x
with:
go-version: 1.20.x
- name: Find new version files
id: versions
# Ignore changes to the internal and root directories.
Expand All @@ -36,9 +36,9 @@ jobs:
echo "new={\"new\":[${list#,}]}" >> $GITHUB_OUTPUT
echo "skip=" >> $GITHUB_OUTPUT
fi
outputs:
versions: ${{ steps.versions.outputs.new }}
skip: ${{ steps.versions.outputs.skip }}
outputs:
versions: ${{ steps.versions.outputs.new }}
skip: ${{ steps.versions.outputs.skip }}
bump_module:
needs: new_versions
runs-on: ubuntu-latest
Expand All @@ -57,7 +57,7 @@ jobs:
command: pr
upstream_owner: googleapis
upstream_repo: google-cloud-go
description: 'New client(s) generated in ${{ github.commits[0][url] }}, triggering release.'
description: 'New client(s) generated in ${{ github.event.commits[0].url }}, triggering release.'
title: 'feat(${{ matrix.new }}): new client(s)'
message: 'feat(${{ matrix.new }}): new clients'
primary: 'main'
Expand Down

0 comments on commit ecda568

Please sign in to comment.