From 4b5b23c2ba2db51239ffb64e0f0f824c75f2d77d Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Tue, 5 Jul 2022 09:48:37 +0200 Subject: [PATCH] [ci] Remove polkadot-companion-labels GHA (#11774) --- .../workflows/polkadot-companion-labels.yml | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 substrate/.github/workflows/polkadot-companion-labels.yml diff --git a/substrate/.github/workflows/polkadot-companion-labels.yml b/substrate/.github/workflows/polkadot-companion-labels.yml deleted file mode 100644 index 0a5af09358..0000000000 --- a/substrate/.github/workflows/polkadot-companion-labels.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Check Polkadot Companion and Label - -on: - pull_request: - types: [opened, synchronize] - -jobs: - check_status: - runs-on: ubuntu-latest - steps: - - name: Monitor the status of the gitlab-check-companion-build job - uses: s3krit/await-status-action@v1.0.1 - id: 'check-companion-status' - with: - authToken: ${{ secrets.GITHUB_TOKEN }} - ref: ${{ github.event.pull_request.head.sha }} - contexts: 'continuous-integration/gitlab-check-dependent-polkadot' - timeout: 1800 - notPresentTimeout: 3600 # It can take quite a while before the job starts on Gitlab when the CI queue is large - failureStates: failure - interruptedStates: error # Error = job was probably cancelled. We don't want to label the PR in that case - pollInterval: 30 - - name: Label success - uses: andymckay/labeler@master - if: steps.check-companion-status.outputs.result == 'success' - with: - remove-labels: 'A7-needspolkadotpr' - - name: Label failure - uses: andymckay/labeler@master - if: steps.check-companion-status.outputs.result == 'failure' - with: - add-labels: 'A7-needspolkadotpr'