Clean actions

This commit is contained in:
adrinr 2023-04-17 20:30:06 +01:00
parent 58330bba92
commit 81929802e1
1 changed files with 0 additions and 34 deletions

View File

@ -86,23 +86,6 @@ jobs:
BB_ADMIN_USER_PASSWORD: admin BB_ADMIN_USER_PASSWORD: admin
check-pro-submodule: check-pro-submodule:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- name: Check submodule
run: |
cd packages/pro
git fetch
if ! git branch --contains HEAD | grep -q "develop"; then
echo "Current commit is not part of main branch" >&2
exit 1
fi
check-pro-submodule-working:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
@ -119,20 +102,3 @@ jobs:
else else
echo "All good, the submodule has been merged!" echo "All good, the submodule has been merged!"
fi fi
check-pro-submodule-failing:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- name: Check submodule
run: |
cd packages/pro
git fetch
if ! git branch --contains HEAD | grep -q "pro_as_submodule"; then
echo "Current commit is not part of main branch" >&2
exit 1
fi