Skip to content

Commit ecda568

Browse files
authored
chore(ci): fix yaml syntax (#8448)
1 parent 255bdf2 commit ecda568

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

.github/workflows/action_syntax.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: action_syntax
2+
on: [pull_request]
3+
4+
permissions:
5+
pull-requests: write
6+
7+
jobs:
8+
lint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: reviewdog/action-actionlint@v1

.github/workflows/new_client.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v3
2020
- uses: actions/setup-go@v4
21-
with:
22-
go-version: 1.20.x
21+
with:
22+
go-version: 1.20.x
2323
- name: Find new version files
2424
id: versions
2525
# Ignore changes to the internal and root directories.
@@ -36,9 +36,9 @@ jobs:
3636
echo "new={\"new\":[${list#,}]}" >> $GITHUB_OUTPUT
3737
echo "skip=" >> $GITHUB_OUTPUT
3838
fi
39-
outputs:
40-
versions: ${{ steps.versions.outputs.new }}
41-
skip: ${{ steps.versions.outputs.skip }}
39+
outputs:
40+
versions: ${{ steps.versions.outputs.new }}
41+
skip: ${{ steps.versions.outputs.skip }}
4242
bump_module:
4343
needs: new_versions
4444
runs-on: ubuntu-latest
@@ -57,7 +57,7 @@ jobs:
5757
command: pr
5858
upstream_owner: googleapis
5959
upstream_repo: google-cloud-go
60-
description: 'New client(s) generated in ${{ github.jparrowsec.cnmits[0][url] }}, triggering release.'
60+
description: 'New client(s) generated in ${{ github.event.commits[0].url }}, triggering release.'
6161
title: 'feat(${{ matrix.new }}): new client(s)'
6262
message: 'feat(${{ matrix.new }}): new clients'
6363
primary: 'main'

0 commit comments

Comments
 (0)