modular-avatar/.github/workflows/trigger-repo-rebuild.yml
dependabot[bot] 95c95f0f90
chore(deps): bump actions/github-script in /.github/workflows (#536)
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-26 20:16:25 +09:00

21 lines
536 B
YAML

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: 'bdunderscore',
repo: 'vpm-repo',
workflow_id: 'publish.yml',
ref: 'main',
})