diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f78ec2b..5e9428d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -2,11 +2,11 @@ name: "Test" on: workflow_dispatch: + release: + types: ["published"] push: - branches: - - "**" - tags: - - "**" + branches: ["**"] + tags: ["**"] jobs: test: diff --git a/README.md b/README.md index 0050a9d..3ae0cf9 100644 --- a/README.md +++ b/README.md @@ -32,16 +32,18 @@ Note: You must provide either a `url` or `host`. If providing a `host` the `url` is created from `host`/`owner`/`repo` using either provided values or source repository values. +Example workflow file: `.github/workflows/mirror.yaml` + ```yaml name: 'Mirror' on: workflow_dispatch: + release: + types: ['published'] push: - branches: - - '**' - tags: - - '**' + branches: ['**'] + tags: ['**'] jobs: mirror: