diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d641bab..4f3be86 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -88,15 +88,15 @@ jobs: git commit -m "Update branch" || echo "This branch is not behind the upstream" git push origin main --force - env: - MAIN_YML_FILES_INCONSISTENT: ${{ env.MAIN_YML_FILES_INCONSISTENT }} - CheckScores: name: CheckScores needs: SyncFork # 在最新版的Ubuntu系统上运行 runs-on: ubuntu-latest + env: + MAIN_YML_FILES_INCONSISTENT: ${{ needs.SyncFork.outputs.MAIN_YML_FILES_INCONSISTENT }} + steps: # 使用GitHub Actions提供的动作来检出代码库 - name: Checkout Repository