diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a82a96805..21e0236a7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,8 @@ on: - '!**/ISSUE_TEMPLATE/**' - '!**/modules/web/**' pull_request: + paths-ignore: + - '**/modules/web/**' workflow_dispatch: jobs: diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index 73f4e6b57..3ad6f172b 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -6,6 +6,9 @@ on: - master paths: - '**/modules/web/**' + pull_request: + paths: + - '**/modules/web/**' workflow_dispatch: env: @@ -59,7 +62,7 @@ jobs: echo "APP_VER=$version" >> $GITHUB_ENV - name: push changes - if: ${{ github.repository == env.UPSTREAM_REPOSITORY }} + if: ${{ github.event_name != 'pull_request' && github.repository == env.UPSTREAM_REPOSITORY }} uses: stefanzweifel/git-auto-commit-action@v4.16.0 with: commit_message: Bump web ${{ env.APP_VER}}