From 94063d9b26ba12ad71217c167a13e33a6e78e388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=9A=E6=9C=80=E5=A5=BD=E7=9A=84=E8=87=AA=E5=B7=B1?= Date: Sun, 13 Jul 2025 15:39:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20.github/workflows/gerrit.y?= =?UTF-8?q?ml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gerrit.yml | 38 ------------------------------------ 1 file changed, 38 deletions(-) delete mode 100644 .github/workflows/gerrit.yml diff --git a/.github/workflows/gerrit.yml b/.github/workflows/gerrit.yml deleted file mode 100644 index 906027a8..00000000 --- a/.github/workflows/gerrit.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: gerrit checks - -on: - workflow_dispatch: - inputs: - ref: - type: string - gerrit-ref: - type: string - change: - type: string - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: lineageos-infra/fetch-gerrit-change@main - with: - gerrit-ref: ${{ inputs.gerrit-ref }} - ref: ${{ inputs.ref }} - - - name: Check if build/action.yml exists - id: check - run: | - if [ -f ./.github/workflows/build/action.yml ]; then - echo "run=1" >> "$GITHUB_OUTPUT" - fi - - - name: Build - if: ${{ steps.check.outputs.run }} - uses: ./.github/workflows/build - - - uses: lineageos-infra/gerrit-vote@main - if: ${{ steps.check.outputs.run && always() }} - with: - auth: ${{ secrets.GERRIT_VOTE_CREDS }} - change: ${{ inputs.change }} - ref: ${{ inputs.ref }}