Fix ci force for dependabot check (#8362)

* [ci:force]

* [ci:force]

* [ci:force]

* final fix

* final fix

* final fix
This commit is contained in:
Maurizio Cacace
2023-03-14 15:55:17 +01:00
committed by GitHub
parent a4d57e62f8
commit 5dc18703c5

View File

@@ -87,8 +87,6 @@ env:
PLAYWRIGHT_STORYBOOK_E2E_PORT: 4400
PROXY_HOST_ECM: ${{ secrets.E2E_HOST }}
jobs:
check-package-lock:
runs-on: ubuntu-22.04
@@ -113,8 +111,8 @@ jobs:
- name: ci:force flag parser
shell: bash
run: |
if [ "${{ github.event_name }}" == "schedule" ]; then
echo -e "\033[32mSchedule event\033[0m"
if [ "${{ github.event_name }}" == "schedule" ] || [ "${{ github.actor }}" == "dependabot[bot]" ]; then
echo -e "\033[32mci:force check can be skipped\033[0m"
exit 0
else
git fetch --all