Fix additional linter errors.

This commit is contained in:
g-samroberts
2026-02-05 16:04:07 -08:00
parent 6c8ab91c0b
commit 8fa118ffd3
+22 -22
View File
@@ -1,31 +1,31 @@
# This workflow is triggered on every new release. # This workflow is triggered on every new release.
# It uses Gemini to generate release notes and creates a PR with the changes. # It uses Gemini to generate release notes and creates a PR with the changes.
name: Generate Release Notes name: 'Generate Release Notes'
on: on:
release: release:
types: [created] types: ['created']
jobs: jobs:
generate-release-notes: generate-release-notes:
runs-on: ubuntu-latest runs-on: 'ubuntu-latest'
permissions: permissions:
contents: write contents: 'write'
pull-requests: write pull-requests: 'write'
steps: steps:
- name: Checkout repository - name: 'Checkout repository'
uses: actions/checkout@v4 uses: 'actions/checkout@v4'
with: with:
# The user-level skills need to be available to the workflow # The user-level skills need to be available to the workflow
fetch-depth: 0 fetch-depth: 0
- name: Set up Node.js - name: 'Set up Node.js'
uses: actions/setup-node@v4 uses: 'actions/setup-node@v4'
with: with:
node-version: '20' node-version: '20'
- name: Get release information - name: 'Get release information'
id: release_info id: 'release_info'
run: | run: |
echo "VERSION=${{ github.event.release.tag_name }}" >> "$GITHUB_OUTPUT" echo "VERSION=${{ github.event.release.tag_name }}" >> "$GITHUB_OUTPUT"
@@ -34,15 +34,15 @@ jobs:
echo "${{ github.event.release.body }}" >> "$GITHUB_OUTPUT" echo "${{ github.event.release.body }}" >> "$GITHUB_OUTPUT"
echo 'EOF' >> "$GITHUB_OUTPUT" echo 'EOF' >> "$GITHUB_OUTPUT"
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
- name: Generate Changelog with Gemini - name: 'Generate Changelog with Gemini'
uses: 'google-github-actions/run-gemini-cli@a3bf79042542528e91937b3a3a6fbc4967ee3c31' # ratchet:google-github-actions/run-gemini-cli@v0 uses: 'google-github-actions/run-gemini-cli@a3bf79042542528e91937b3a3a6fbc4967ee3c31' # ratchet:google-github-actions/run-gemini-cli@v0
env: env:
VERSION: ${{ steps.release_info.outputs.VERSION }} VERSION: '${{ steps.release_info.outputs.VERSION }}'
RAW_CHANGELOG: ${{ steps.release_info.outputs.RAW_CHANGELOG }} RAW_CHANGELOG: '${{ steps.release_info.outputs.RAW_CHANGELOG }}'
with: with:
gemini_api_key: ${{ secrets.GEMINI_API_KEY }} gemini_api_key: '${{ secrets.GEMINI_API_KEY }}'
prompt: | prompt: |
Activate the 'docs-changelog' skill. Activate the 'docs-changelog' skill.
@@ -53,15 +53,15 @@ jobs:
Execute the release notes generation process using the information provided. Execute the release notes generation process using the information provided.
- name: Create Pull Request - name: 'Create Pull Request'
uses: peter-evans/create-pull-request@v6 uses: 'peter-evans/create-pull-request@v6'
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: '${{ secrets.GITHUB_TOKEN }}'
commit-message: "docs(changelog): update for ${{ steps.release_info.outputs.VERSION }}" commit-message: 'docs(changelog): update for ${{ steps.release_info.outputs.VERSION }}'
title: "Changelog for ${{ steps.release_info.outputs.VERSION }}" title: 'Changelog for ${{ steps.release_info.outputs.VERSION }}'
body: | body: |
This PR contains the auto-generated changelog for the ${{ steps.release_info.outputs.VERSION }} release. This PR contains the auto-generated changelog for the ${{ steps.release_info.outputs.VERSION }} release.
Please review and merge. Please review and merge.
branch: "changelog-${{ steps.release_info.outputs.VERSION }}" branch: 'changelog-${{ steps.release_info.outputs.VERSION }}'
delete-branch: true delete-branch: true