diff --git a/.github/workflows/continuous-delivery.yml b/.github/workflows/continuous-delivery.yml index 4c4d311..f5e30a1 100644 --- a/.github/workflows/continuous-delivery.yml +++ b/.github/workflows/continuous-delivery.yml @@ -6,6 +6,7 @@ on: - closed branches: - main + workflow_dispatch: permissions: contents: write @@ -16,8 +17,9 @@ jobs: runs-on: ubuntu-latest if: | - github.event.pull_request.merged == true && - startsWith(github.head_ref, 'dependabot/') == false + github.event_name == 'workflow_dispatch' || + (github.event.pull_request.merged == true && + startsWith(github.head_ref, 'dependabot/') == false) steps: - name: Checkout @@ -28,7 +30,7 @@ jobs: - name: Tag id: tag - uses: issue-ops/semver@v0.1.0 + uses: issue-ops/semver@v0.3.2 with: manifest-path: package.json workspace: ${{ github.workspace }}