Skip to content

Commit 78a70e2

Browse files
authored
chore: Update release flow to include chocolatey (#9460)
1 parent ea0ff34 commit 78a70e2

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/release.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
GH_TOKEN: ${{ secrets.ORG_REPO_TOKEN }}
101101
run: |
102102
gh workflow run update_version.yml \
103-
--repo aquasecurity/trivy-telemetry \
103+
--repo ${{ github.repository_owner }}/trivy-telemetry \
104104
--ref main \
105105
--field version=${{ github.ref_name }}
106106
@@ -111,7 +111,18 @@ jobs:
111111
GH_TOKEN: ${{ secrets.ORG_REPO_TOKEN }}
112112
run: |
113113
gh workflow run update_version.yml \
114-
--repo aquasecurity/trivy-downloads \
114+
--repo ${{ github.repository_owner }}/trivy-downloads \
115115
--ref main \
116116
--field version=${{ github.ref_name }} \
117117
--field artifact=trivy
118+
119+
- name: Trigger version update and release workflow in trivy-chocolatey
120+
env:
121+
# Use ORG_REPO_TOKEN instead of GITHUB_TOKEN
122+
# This allows triggering workflows in other repositories
123+
GH_TOKEN: ${{ secrets.ORG_REPO_TOKEN }}
124+
run: |
125+
gh workflow run release.yml \
126+
--repo ${{ github.repository_owner }}/trivy-chocolatey \
127+
--ref main \
128+
--field version=${{ github.ref_name }}

0 commit comments

Comments
 (0)