From 9d1955d82761186dc9d9a867a59a8a827ce145c2 Mon Sep 17 00:00:00 2001 From: BluWizard <17975114+BluWizard10@users.noreply.github.com> Date: Thu, 9 May 2024 19:14:57 -0700 Subject: [PATCH] Create trigger-repo-rebuild.yml --- .github/workflows/trigger-repo-rebuild.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/trigger-repo-rebuild.yml diff --git a/.github/workflows/trigger-repo-rebuild.yml b/.github/workflows/trigger-repo-rebuild.yml new file mode 100644 index 0000000..7cfb998 --- /dev/null +++ b/.github/workflows/trigger-repo-rebuild.yml @@ -0,0 +1,21 @@ +name: Trigger Repo Listing Generator + +on: + release: + types: [published, unpublished, created, edited, deleted] + workflow_dispatch: + +jobs: + dispatch: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v7 + with: + github-token: ${{ secrets.VPM_REPO_TOKEN }} + script: | + await github.rest.actions.createWorkflowDispatch({ + owner: 'bluwizard10', + repo: 'VPM', + workflow_id: 'build-listing.yml', + ref: 'main', + })