Skip to content

Commit

Permalink
cleanup: remove check_base_status job for tag instead
Browse files Browse the repository at this point in the history
  • Loading branch information
kbdharun authored Sep 20, 2024
1 parent 1db4033 commit 5d6516e
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/vib-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d6516e

Please sign in to comment.