Browse Source

fix: 移除不必要的环境变量,简化推送条件

mobeicanyue 3 tháng trước cách đây
mục cha
commit
a98848062e
1 tập tin đã thay đổi với 1 bổ sung và 3 xóa
  1. 1 3
      .github/workflows/web.yml

+ 1 - 3
.github/workflows/web.yml

@@ -11,8 +11,6 @@ on:
       - '**/modules/web/**'
       - '**/modules/web/**'
   workflow_dispatch:
   workflow_dispatch:
 
 
-env:
-  UPSTREAM_REPOSITORY: HapeLee/legado-with-MD3
 
 
 jobs:
 jobs:
   build:
   build:
@@ -57,7 +55,7 @@ jobs:
           echo "APP_VER=$version" >> $GITHUB_ENV
           echo "APP_VER=$version" >> $GITHUB_ENV
 
 
       - name: push changes
       - name: push changes
-        if: ${{ github.event_name != 'pull_request' && github.repository == env.UPSTREAM_REPOSITORY }}
+        if: ${{ github.event_name != 'pull_request' }}
         uses: stefanzweifel/git-auto-commit-action@v6.0.1
         uses: stefanzweifel/git-auto-commit-action@v6.0.1
         with:
         with:
           commit_message: Bump web ${{ env.APP_VER}}
           commit_message: Bump web ${{ env.APP_VER}}