Skip to content

Commit cf44ec9

Browse files
authored
chore: run generation check as post-submit job (#14428)
Fixes googleapis/librarian#5099
1 parent be7c86e commit cf44ec9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/generation_check.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
name: generation-check
33
on:
4-
schedule:
5-
# Runs every day at 4:00 AM UTC
6-
- cron: '0 4 * * *'
4+
push:
5+
branches:
6+
- main
77
# Allows manual triggering for debugging purpose.
88
workflow_dispatch:
99
permissions:
@@ -35,10 +35,10 @@ jobs:
3535
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636
run: |
3737
if [ -n "$(git status --porcelain)" ]; then
38-
TITLE="Daily regeneration check found diff"
38+
TITLE="Regeneration check found diff"
3939
RUN_URL="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
4040
DIFF_STAT=$(git diff --stat)
41-
BODY="The daily [regeneration check]($RUN_URL) found a diff.
41+
BODY="The post-submit [regeneration check]($RUN_URL) found a diff.
4242
4343
Diff summary:
4444
\`\`\`

0 commit comments

Comments
 (0)