mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Corrected conditions on ng2'
This commit is contained in:
@@ -111,6 +111,9 @@ jobs:
|
|||||||
- name: Get branch name
|
- name: Get branch name
|
||||||
uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v1.36.0
|
uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v1.36.0
|
||||||
|
|
||||||
|
- name: Save commit message
|
||||||
|
uses: alfresco-build-tools/.github/actions/get-commit-message/action.yml
|
||||||
|
|
||||||
- name: ci:force flag parser
|
- name: ci:force flag parser
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@@ -147,10 +150,12 @@ jobs:
|
|||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
skip_check: "false"
|
skip_check: "false"
|
||||||
run: |
|
run: |
|
||||||
echo "ci force run: $CI_FORCE_RUN"
|
if [ "${{ github.event_name }}" == "schedule" ] || [ "${{ github.actor }}" == "dependabot[bot]" ]; then
|
||||||
if [ "${CI_FORCE_RUN}" == "true" ]; then
|
echo -e "\033[32mci:force check can be skipped\033[0m"
|
||||||
echo -e "\033[32m[ci:force] flag detected. No need for approval.\033[0m"
|
skip_check="true"
|
||||||
skip_check="true"
|
elif [[ "$COMMIT_MESSAGE" == "[ci:force]" ]]; then
|
||||||
|
echo -e "\033[32m[ci:force] flag detected. No need for approval.\033[0m"
|
||||||
|
skip_check="true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${{ github.actor }}" == "dependabot[bot]" ] || [ "${{ github.actor }}" == "alfresco-build" ]; then
|
if [ "${{ github.actor }}" == "dependabot[bot]" ] || [ "${{ github.actor }}" == "alfresco-build" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user