Skip to content

add repo-dispatch action with test #4

add repo-dispatch action with test

add repo-dispatch action with test #4

# This workflow tests the reusable repo-dispatch action
name: test repo-dispatch action
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: checkout so we can use local action
uses: actions/checkout@v4
- name: test action
uses: ./.github/actions/repo-dispatch
with:
secret-token: my-secret-token
another-secret: my-other-secret