File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff 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 }}
You can’t perform that action at this time.
0 commit comments