Skip to content

Commit a613aa5

Browse files
committed
Run this with a gh cli command
1 parent c1cb42b commit a613aa5

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/generate-references.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: "Generate References"
22

33
on:
4-
workflow_run:
5-
workflows: ["Release"]
6-
types:
7-
- completed
84
workflow_dispatch:
95

106
jobs:
@@ -45,7 +41,7 @@ jobs:
4541
echo "No new references generated in references directory"
4642
fi
4743
48-
- uses: stefanzweifel/git-auto-commit-action@b3e3f72439fc3af08948f989a19a825463598a
44+
- uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0
4945
if: steps.changes.outputs.changed == 'true'
5046
with:
5147
commit_message: "Update generated references"

.github/workflows/release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,9 @@ jobs:
4949
with:
5050
tag_name: v${{ env.REPO_VERSION }}
5151
release_name: ${{ env.REPO_VERSION }}
52+
53+
- name: Dispatch generate-references for posthog-python
54+
env:
55+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56+
run: |
57+
gh workflow run generate-references.yml --ref master

0 commit comments

Comments
 (0)