From 743ee97d9e7c484fa457a32b8a1b9b3e3997696f Mon Sep 17 00:00:00 2001 From: Charence <1438332+Charence@users.noreply.github.com> Date: Thu, 13 Feb 2025 18:10:23 +0000 Subject: [PATCH] ISSUE #5403 - rm job dep --- .github/workflows/onPRClose.yml | 45 --------------------------------- 1 file changed, 45 deletions(-) diff --git a/.github/workflows/onPRClose.yml b/.github/workflows/onPRClose.yml index e0ec0619c4..0039c35aeb 100644 --- a/.github/workflows/onPRClose.yml +++ b/.github/workflows/onPRClose.yml @@ -9,54 +9,9 @@ jobs: needs: get-details steps: - name: Azure Pipelines Action - if: needs.get-details.outputs.issue-number uses: Azure/pipelines@v1.2 with: azure-devops-project-url: https://dev.azure.com/3drepo/3drepo.io azure-pipeline-name: 'destroy' azure-devops-token: ${{ secrets.AZURE_DEVOPS_TOKEN }} azure-pipeline-variables: '{"branchName": ${{ github.head_ref || github.ref_name }}}' - - get-details: - name: Get Current Issue Details - runs-on: ubuntu-latest - outputs: - issue-number: ${{ steps.commitMsgParser.outputs.issue-number }} - issue-content-id: ${{ steps.commitMsgParser.outputs.issue-content-id }} - steps: - - name: Extract Issue Number from PR - uses: 3drepo/extract-pr-information@v1 - with: - pr: ${{ github.event.number }} - github-token: ${{ secrets.GITHUB_TOKEN }} - id: commitMsgParser - - tag-on-pr-merge: - name: Tag merged issues as In staging if applicable - runs-on: ubuntu-latest - needs: get-details - steps: - - name: Apply in staging label - if: ${{github.event.pull_request.merged && github.event.pull_request.base.ref == 'staging'}} - uses: carmenfan/any-issue-labeller@v1.1 - with: - issue-number: ${{ needs.get-details.outputs.issue-number }} - label: 'in staging' - github-token: ${{ secrets.GITHUB_TOKEN }} - - update-project-status: - name: Update status of the issue in the project - runs-on: ubuntu-latest - needs: get-details - steps: - - name: Update status in the Project - if: ${{github.event.pull_request.merged}} - id: update_status - uses: 3drepo/update-project-action@v1.1 - with: - github_token: ${{ secrets.PROJ_MANAGEMENT_TOKEN }} - organization: 3drepo - project_number: 22 - content_id: ${{ needs.get-details.outputs.issue-content-id }} - field: Status - value: Merged