diff --git a/.github/workflows/Registrator.yml b/.github/workflows/Registrator.yml index 255e2af..4ae82c4 100644 --- a/.github/workflows/Registrator.yml +++ b/.github/workflows/Registrator.yml @@ -1,14 +1,12 @@ name: Register Package on: workflow_dispatch: - pull_request: - types: - - closed - paths: - - 'Project.toml' + push: branches: - 'master' - 'main' + paths: + - 'Project.toml' permissions: contents: write @@ -16,7 +14,6 @@ permissions: jobs: Register: - if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true uses: "ITensor/ITensorActions/.github/workflows/Registrator.yml@main" with: localregistry: ITensor/ITensorRegistry