Skip to content

Commit

Permalink
Merge pull request #111 from puppetlabs/cat-1820-update-workflow-call
Browse files Browse the repository at this point in the history
(CAT-1820) - update workflow-restarter.yml to have on workflow_call
  • Loading branch information
gavindidrichsen authored Sep 27, 2024
2 parents cf8e994 + 7ba4f33 commit c184972
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow-restarter.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Workflow Restarter
on:
workflow_call:
workflow_dispatch:
inputs:
repo:
description: "GitHub repository name."
Expand Down
2 changes: 1 addition & 1 deletion docs/workflow-restarter.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c184972

Please sign in to comment.