Release 3.1.0 #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger Repo Update | |
on: | |
release: | |
types: [published, unpublished, created, edited, deleted] | |
workflow_dispatch: | |
jobs: | |
dispatch: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: write # Add this line to grant write permissions to actions | |
steps: | |
- uses: actions/github-script@v6 | |
with: | |
github-token: ${{ secrets.VPM_LISTING }} | |
script: | | |
await github.rest.actions.createWorkflowDispatch({ | |
owner: 'swiveI', | |
repo: 'LPD-Tools', | |
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 |