Browse Source

fix: exclude pr-release for dependabot[bot]

pull/1936/head
Wing-Kam Wong 2 years ago
parent
commit
6883243165
  1. 5
      .github/workflows/release-pr.yml

5
.github/workflows/release-pr.yml

@ -14,6 +14,7 @@ on:
jobs:
# Validate Branch
validate-branch:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- run: |
@ -24,6 +25,7 @@ jobs:
# enrich tag for pr release
set-tag:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: 'ubuntu-latest'
needs: [validate-branch]
steps:
@ -51,6 +53,7 @@ jobs:
# Build, install, publish frontend and backend to npm
release-npm:
if: ${{ github.actor != 'dependabot[bot]' }}
needs: [set-tag]
uses: ./.github/workflows/release-npm.yml
with:
@ -61,6 +64,7 @@ jobs:
# Build docker image and push to docker hub
release-docker:
if: ${{ github.actor != 'dependabot[bot]' }}
needs: [release-npm, set-tag]
uses: ./.github/workflows/release-docker.yml
with:
@ -80,6 +84,7 @@ jobs:
# echo docker run -d -p 8888:8080 nocodb/nocodb-timely:${{ needs.set-tag.outputs.current_version }}-${{ needs.set-tag.outputs.target_tag }}
leave-comment:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: 'ubuntu-latest'
needs: [release-docker, set-tag]
steps:

Loading…
Cancel
Save