|
|
@ -176,14 +176,16 @@ jobs: |
|
|
|
trigger-actions: |
|
|
|
trigger-actions: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
needs: docker |
|
|
|
needs: docker |
|
|
|
if: success() && github.repository == 'ultralytics/ultralytics' && github.event_name == 'push' |
|
|
|
# Only trigger actions on new Ultralytics releases |
|
|
|
|
|
|
|
if: success() && github.repository == 'ultralytics/ultralytics' && github.event_name == 'push' && steps.check_tag.outputs.exists == 'false' |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: Trigger Additional GitHub Actions |
|
|
|
- name: Trigger Additional GitHub Actions |
|
|
|
|
|
|
|
env: |
|
|
|
|
|
|
|
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
gh workflow run deploy_cloud_run.yml \ |
|
|
|
gh workflow run deploy_cloud_run.yml \ |
|
|
|
--repo ultralytics/assistant \ |
|
|
|
--repo ultralytics/assistant \ |
|
|
|
--ref main \ |
|
|
|
--ref main |
|
|
|
--token ${{ secrets.PERSONAL_ACCESS_TOKEN }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
notify: |
|
|
|
notify: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|