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