From d7720757aafca0d9215de13382e06c5a53d6fd8c Mon Sep 17 00:00:00 2001 From: plastikfan Date: Mon, 29 Apr 2024 11:30:04 +0100 Subject: [PATCH] fix(chore): trigger on repository dispatch, for types created --- .github/workflows/auto-check-workflow.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/auto-check-workflow.yml b/.github/workflows/auto-check-workflow.yml index c57d69f..ab88c6f 100644 --- a/.github/workflows/auto-check-workflow.yml +++ b/.github/workflows/auto-check-workflow.yml @@ -1,13 +1,7 @@ name: Initialise Repo on: - create: - branches: - # NB: its difficult to get the default branch dynamically in - # push event, so it has been hardcoded. - # ${{ github.event.repository.default_branch }} does not - # work in this scenario. - # - - main + repository_dispatch: + types: [created] permissions: contents: write