Skip to content

Commit 0325cf5

Browse files
Mirko Brombinkbdharun
andcommitted
ci: remove base check in favor of tags
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
1 parent b38a20d commit 0325cf5

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

.github/workflows/vib-build.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,9 @@ jobs:
2424
env:
2525
GH_TOKEN: ${{ github.token }}
2626

27-
check_base_status:
28-
runs-on: ubuntu-latest
29-
steps:
30-
- name: Clone base image
31-
if: ${{ github.ref_type == 'tag' }}
32-
uses: actions/checkout@v4
33-
with:
34-
repository: Vanilla-OS/pico-image
35-
36-
- name: Check if the base is up to date
37-
if: ${{ github.ref_type == 'tag' }}
38-
run: |
39-
git fetch origin
40-
main_head=$( git rev-parse origin/main )
41-
dev_head=$( git rev-parse origin/dev )
42-
echo main branch is at: $main_head
43-
echo dev branch is at: $dev_head
44-
[ "$main_head" = "$dev_head" ]
45-
4627
build:
4728
runs-on: ubuntu-latest
48-
needs: [verify-image, check_base_status]
29+
needs: [verify-image]
4930
permissions:
5031
contents: write # Allow actions to create release
5132
packages: write # Allow pushing images to GHCR

0 commit comments

Comments
 (0)