From 902362474dc8688f1138f56e52a6b6d1efe83490 Mon Sep 17 00:00:00 2001 From: AcChosen <49845629+AcChosen@users.noreply.github.com> Date: Wed, 5 Jul 2023 19:28:04 -0400 Subject: [PATCH] Create trigger-repo-update.yml --- .github/workflows/trigger-repo-update.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/trigger-repo-update.yml diff --git a/.github/workflows/trigger-repo-update.yml b/.github/workflows/trigger-repo-update.yml new file mode 100644 index 0000000..18236a1 --- /dev/null +++ b/.github/workflows/trigger-repo-update.yml @@ -0,0 +1,23 @@ +name: Trigger Repo Update + +on: + release: + types: [published, unpublished, created, edited, deleted] + workflow_dispatch: + +jobs: + dispatch: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v6 + with: + github-token: ${{ secrets.VRSL_VPM_TOKEN }} + script: | + await github.rest.actions.createWorkflowDispatch({ + owner: 'rrazgriz', + repo: 'raz-vpm', + workflow_id: 'build-listing.yml', + ref: 'main', + }) + +# thanks to bd_ for this action: https://github.com/bdunderscore/modular-avatar/blob/main/.github/workflows/trigger-repo-rebuild.yml