Skip to content

Commit c7ffd04

Browse files
authored
build: remove release_diff.patch from auto-update skill PR (#889)
* fix: remove release_diff.patch from auto-update skill PR * fix: set author and committer to googlemaps-bot to pass CLA check * feat: add workflow_dispatch to allow manual testing
1 parent 4b8281d commit c7ffd04

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/update-skill.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ name: Update Skill
1717
on:
1818
release:
1919
types: [published]
20+
workflow_dispatch:
2021

2122
jobs:
2223
update-skill:
@@ -50,13 +51,17 @@ jobs:
5051
- name: Update Skill via Gemini
5152
env:
5253
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
53-
run: python .github/scripts/update_skill.py
54+
run: |
55+
python .github/scripts/update_skill.py
56+
rm release_diff.patch
5457
5558
- name: Create Pull Request
5659
uses: peter-evans/create-pull-request@v7
5760
with:
5861
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
5962
commit-message: "docs: update SKILL.md based on release ${{ github.ref_name }}"
63+
author: googlemaps-bot <googlemaps-bot@google.com>
64+
committer: googlemaps-bot <googlemaps-bot@google.com>
6065
title: "docs: update SKILL.md for release ${{ github.ref_name }}"
6166
body: "Automatically generated PR to update `SKILL.md` for the latest release `${{ github.ref_name }}`."
6267
branch: "update-skill-for-${{ github.ref_name }}"

0 commit comments

Comments
 (0)