This commit is contained in:
v-amolpatil 2023-07-20 15:44:45 +05:30
Родитель eae34c9595
Коммит e7ddb4e3d6
1 изменённых файлов: 3 добавлений и 3 удалений

6
.github/workflows/AddLabel.yaml поставляемый
Просмотреть файл

@ -10,13 +10,13 @@ on:
jobs:
solutionNameDetails:
if: ${{ !github.event.pull_request.head.repo.fork && !contains(github.event.pull_request.labels.*.name, 'P0')}}
if: ${{ github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork && !contains(github.event.pull_request.labels.*.name, 'P0')}}
uses: ./.github/workflows/getSolutionName.yaml
secrets: inherit
solutionPublisherDetail:
needs: solutionNameDetails
if: ${{ needs.solutionNameDetails.outputs.solutionName != '' && !github.event.pull_request.head.repo.fork }}
if: ${{ github.actor != 'dependabot[bot]' && needs.solutionNameDetails.outputs.solutionName != '' && !github.event.pull_request.head.repo.fork }}
uses: ./.github/workflows/neworexistingsolution.yaml
with:
solutionName: "${{ needs.solutionNameDetails.outputs.solutionName }}"
@ -25,7 +25,7 @@ jobs:
Labeler:
runs-on: ubuntu-latest
needs: solutionPublisherDetail
if: ${{ needs.solutionPublisherDetail.outputs.solutionPublisherId != '' && !contains(fromJson(vars.INTERNAL_PUBLISHERS),needs.solutionPublisherDetail.outputs.solutionPublisherId) }}
if: ${{ github.actor != 'dependabot[bot]' && needs.solutionPublisherDetail.outputs.solutionPublisherId != '' && !contains(fromJson(vars.INTERNAL_PUBLISHERS),needs.solutionPublisherDetail.outputs.solutionPublisherId) }}
steps:
- name: Add Label Notification
uses: actions/github-script@v6