mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-12412 alfresco-build user whitelisted (#8214)
This commit is contained in:
4
.github/workflows/pull-request.yml
vendored
4
.github/workflows/pull-request.yml
vendored
@@ -75,7 +75,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check if PR is approved
|
- name: Check if PR is approved
|
||||||
id: action
|
id: action
|
||||||
if: ${{ github.event_name != 'schedule' || github.actor != 'dependabot[bot]' }}
|
if: ${{ github.event_name != 'schedule' || github.actor != 'dependabot[bot]' || github.actor != 'alfresco-build' }}
|
||||||
uses: kamatama41/get-pr-number-action@v0
|
uses: kamatama41/get-pr-number-action@v0
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -85,7 +85,7 @@ jobs:
|
|||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
DEVEL_FLAG: false #put it to true if you need to develop the pipeline on your own branch. before the final merge put it to false
|
DEVEL_FLAG: false #put it to true if you need to develop the pipeline on your own branch. before the final merge put it to false
|
||||||
shell: bash
|
shell: bash
|
||||||
if: ${{ github.event_name != 'schedule' || github.actor != 'dependabot[bot]' }}
|
if: ${{ github.event_name != 'schedule' || github.actor != 'dependabot[bot]' || github.actor != 'alfresco-build' }}
|
||||||
run: |
|
run: |
|
||||||
if [[ "$DEVEL_FLAG" = false ]] ; then
|
if [[ "$DEVEL_FLAG" = false ]] ; then
|
||||||
echo "PR number is: ${{ steps.action.outputs.number }}"
|
echo "PR number is: ${{ steps.action.outputs.number }}"
|
||||||
|
Reference in New Issue
Block a user