From 94cc9a66b994101ca52444684ce9685d922feae5 Mon Sep 17 00:00:00 2001 From: Nitya Baddam <56103565+nbaddam@users.noreply.github.com> Date: Fri, 1 Nov 2024 11:01:36 -0700 Subject: [PATCH] chore: Add manual kickoff option to notify dependents workflow (#36) Closes: #47 Updating the notify-dependents workflow to allow it to be kicked off manually. --- .github/workflows/notify-dependents.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/notify-dependents.yml b/.github/workflows/notify-dependents.yml index 3b5a1ab4..71c6b890 100644 --- a/.github/workflows/notify-dependents.yml +++ b/.github/workflows/notify-dependents.yml @@ -1,5 +1,6 @@ name: Notify Dependents on: + workflow_dispatch: push: branches: - main @@ -11,4 +12,4 @@ jobs: - name: Notify Analyzer run: | - curl -X POST 'https://api.github.com/repos/dequelabs/axe-devtools-mobile-analyzer/actions/workflows/publish_latest.yml/dispatches' -H 'Content-Type: application/json' -H 'Authorization: Bearer ${{ secrets.CI_WORKFLOW_PAT }}' -d '{"ref": "main"}' \ No newline at end of file + curl -X POST 'https://api.github.com/repos/dequelabs/axe-devtools-mobile-analyzer/actions/workflows/publish_latest.yml/dispatches' -H 'Content-Type: application/json' -H 'Authorization: Bearer ${{ secrets.CI_WORKFLOW_PAT }}' -d '{"ref": "main"}'