Skip to content

Commit

Permalink
chore: add dispatch workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
monotykamary committed Apr 24, 2024
1 parent 845ab2f commit bed6a82
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Dispatch Workflow

on:
push:
branches:
- main

jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Trigger Workflow
uses: actions/github-script@v6
with:
github-token: ${{secrets.DWARVES_PAT}}
script: |
github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: "memo.d.foundation",
workflow_id: 'dispatch.yml',
ref: 'main',
})

0 comments on commit bed6a82

Please sign in to comment.