Skip to content

Commit

Permalink
Merge pull request #8826 from Azure/add-auto-package-label
Browse files Browse the repository at this point in the history
Add auto-package label
  • Loading branch information
v-amolpatil authored Aug 24, 2023
2 parents 27c946e + af0cd37 commit aaac293
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/package-on-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,15 @@ jobs:
message: "@${{ github.event.client_payload.github.actor }} The requested package for the '${{ needs.solutionNameDetails.outputs.solutionName }}' solution has been generated based on Pull request #${{ github.event.client_payload.pull_request.number }}"
prNumber: "${{ needs.createNewPR.outputs.newPRNumber }}"

addAutoPackageLabel:
name: Add Label of Auto-Package
needs: createNewPR
if: ${{ success() }}
uses: ./.github/workflows/addLabelOnPr.yaml
with:
labelName: "auto-package"
secrets: inherit

release-project:
name: Publish-Artifacts
runs-on: ubuntu-latest
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/slash-command-dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,12 @@ jobs:
repository: ${{env.REPO_OWNER}}/${{env.REPO_NAME}}
issue-type: pull-request
reactions: false

addAutoPackageLabel:
name: Add Label of Auto-Package
needs: slashCommandDispatch
if: ${{ success() }}
uses: ./.github/workflows/addLabelOnPr.yaml
with:
labelName: "auto-package"
secrets: inherit

0 comments on commit aaac293

Please sign in to comment.