1
0
Fork 0
mirror of synced 2024-10-02 18:16:29 +13:00

Clean actions

This commit is contained in:
adrinr 2023-04-17 20:30:06 +01:00
parent 58330bba92
commit 81929802e1

View file

@ -86,23 +86,6 @@ jobs:
BB_ADMIN_USER_PASSWORD: admin
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
steps:
- name: Checkout code
@ -119,20 +102,3 @@ jobs:
else
echo "All good, the submodule has been merged!"
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