diff --git a/.github/workflows/workflow-restarter.yml b/.github/workflows/workflow-restarter.yml index fb35c25..ad24a38 100644 --- a/.github/workflows/workflow-restarter.yml +++ b/.github/workflows/workflow-restarter.yml @@ -1,7 +1,7 @@ --- name: Workflow Restarter on: - workflow_call: + workflow_dispatch: inputs: repo: description: "GitHub repository name." diff --git a/docs/workflow-restarter.md b/docs/workflow-restarter.md index 920c65a..76033b8 100644 --- a/docs/workflow-restarter.md +++ b/docs/workflow-restarter.md @@ -71,7 +71,7 @@ For example, the following will trigger a restart if either the `acceptance` or # this to trigger the reusable workflow that restarts the failed job; and # (b) custom actions do not have access to the calling workflow's secrets - name: Trigger reusable workflow - uses: ./.github/actions/workflow-restarter-proxy + uses: ./.github/actions/workflow-restarter-proxy@main env: SOURCE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: