diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 1a9633fa..b74ee534 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -1,6 +1,10 @@ name: "Create release" on: + pull_request: + types: [opened, synchronize] + branches: + - main workflow_dispatch: inputs: version: @@ -20,6 +24,8 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Set executable permissions for scripts + run: chmod +x ./.github/scripts/validate_release_tag.sh - name: Validate the release tag run: ./.github/scripts/validate_release_tag.sh ${{ github.event.inputs.version }} - name: Check if release exists