Update AddLabel.yaml
This commit is contained in:
Родитель
eae34c9595
Коммит
e7ddb4e3d6
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче