diff --git a/.github/workflows/release-template.yml b/.github/workflows/release-template.yml index 07fdf90..e583fa8 100644 --- a/.github/workflows/release-template.yml +++ b/.github/workflows/release-template.yml @@ -1,12 +1,10 @@ name: Release Template on: - workflow_dispatch: - inputs: - reason: - description: 'the reason for triggering this workflow' - required: false - default: 'manually publish the ecr images and templates' + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] jobs: release_template: runs-on: ubuntu-latest