Skip to content

Commit

Permalink
fix(chore): trigger on repository dispatch, for types created
Browse files Browse the repository at this point in the history
  • Loading branch information
plastikfan committed Apr 29, 2024
1 parent cc84652 commit d772075
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/auto-check-workflow.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d772075

Please sign in to comment.