diff --git a/.github/workflows/label-gate.yaml b/.github/workflows/label-gate.yaml index c3d5e20fc..0d4664602 100644 --- a/.github/workflows/label-gate.yaml +++ b/.github/workflows/label-gate.yaml @@ -6,6 +6,11 @@ on: - labeled jobs: + run-checks: + runs-on: ubuntu-latest + if: ${{ github.event.label.name == 'gate' }} + steps: + - uses: ./.github/workflows/otc-golangci-lint.yaml merge: runs-on: ubuntu-latest name: merge branch into devel @@ -13,8 +18,6 @@ jobs: if: ${{ github.event.label.name == 'gate' }} steps: - uses: actions/checkout@v4 - - uses: ./.github/workflows/otc-golangci-lint.yaml - - uses: ./.github/workflows/otc-run-acc-tests.yaml - uses: devmasx/merge-branch@master with: label_name: 'gate' diff --git a/.github/workflows/otc-run-acc-tests.yaml b/.github/workflows/label-post.yaml similarity index 92% rename from .github/workflows/otc-run-acc-tests.yaml rename to .github/workflows/label-post.yaml index c05cd8311..9c35c1440 100644 --- a/.github/workflows/otc-run-acc-tests.yaml +++ b/.github/workflows/label-post.yaml @@ -16,7 +16,6 @@ jobs: - uses: actions/setup-go@v5 with: go-version: "1.20" - - uses: .github/workflows/otc-golangci-lint.yaml - run: make acceptance env: OS_AUTH_URL: ${{ secrets.AUTH_URL }}