diff --git a/.github/workflows/action_syntax.yml b/.github/workflows/action_syntax.yml new file mode 100644 index 000000000000..ac295af47de4 --- /dev/null +++ b/.github/workflows/action_syntax.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/new_client.yml b/.github/workflows/new_client.yml index aaef46a0436a..7fcc96f6bd86 100644 --- a/.github/workflows/new_client.yml +++ b/.github/workflows/new_client.yml @@ -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. @@ -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 @@ -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'