diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index d1a425bd23..21db8be0a8 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -2,16 +2,15 @@ name: 'PR Release' on: pull_request: - types: [ - opened, # pull request is created - reopened, # closed pull request is reopened - synchronize # commit(s) pushed to the pull request - ] - paths: - - "packages/nocodb-sdk/**" - - "packages/nc-gui/**" - - "packages/nc-plugin/**" - - "packages/nocodb/**" + # opened: pull request is created + # reopened: closed pull request is reopened + # synchronize: commit(s) pushed to the pull request + types: [opened, reopened, synchronize] + paths: + - "packages/nocodb-sdk/**" + - "packages/nc-gui/**" + - "packages/nc-plugin/**" + - "packages/nocodb/**" jobs: # Validate Branch validate-branch: @@ -73,18 +72,20 @@ jobs: DOCKERHUB_TOKEN: "${{ secrets.DOCKERHUB_TOKEN }}" leave-comment: + runs-on: 'ubuntu-latest' needs: [release-docker, set-tag] - uses: peter-evans/commit-comment@v2 - with: - body: | - The PR changes have been deployed. Pleae run the following command to verify: - ``` - docker run -d -p 8888:8080 nocodb-timely:${{ needs.set-tag.outputs.current_version }}-${{ needs.set-tag.outputs.target_tag }} - ``` + steps: + - uses: peter-evans/commit-comment@v2 + with: + body: | + The PR changes have been deployed. Pleae run the following command to verify: + ``` + docker run -d -p 8888:8080 nocodb-timely:${{ needs.set-tag.outputs.current_version }}-${{ needs.set-tag.outputs.target_tag }} + ``` # if-merged: # if: github.event.pull_request.merged == true # runs-on: ubuntu-latest # steps: # - run: | - # echo The PR was merged \ No newline at end of file + # echo The PR was merged