From 5d6516e617abc76424cb9e5cd01b8a70bb215f2a Mon Sep 17 00:00:00 2001 From: "K.B.Dharun Krishna" Date: Sat, 21 Sep 2024 00:14:52 +0530 Subject: [PATCH] cleanup: remove check_base_status job for tag instead --- .github/workflows/vib-build.yml | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/.github/workflows/vib-build.yml b/.github/workflows/vib-build.yml index b5a96d6..cf385d7 100644 --- a/.github/workflows/vib-build.yml +++ b/.github/workflows/vib-build.yml @@ -24,28 +24,9 @@ jobs: env: GH_TOKEN: ${{ github.token }} - check_base_status: - runs-on: ubuntu-latest - steps: - - name: Clone base image - if: ${{ github.ref_type == 'tag' }} - uses: actions/checkout@v4 - with: - repository: Vanilla-OS/desktop-image - - - name: Check if the base is up to date. - if: ${{ github.ref_type == 'tag' }} - run: | - git fetch origin - main_head=$( git rev-parse origin/main ) - dev_head=$( git rev-parse origin/dev ) - echo main branch is at: $main_head - echo dev branch is at: $dev_head - [ "$main_head" = "$dev_head" ] - build: runs-on: ubuntu-latest - needs: [verify-image, check_base_status] + needs: [verify-image] permissions: contents: write # Allow actions to create release packages: write # Allow pushing images to GHCR