diff --git a/.github/workflows/create-issue.yml b/.github/workflows/create-issue.yml deleted file mode 100644 index 1bfde9e0e6b..00000000000 --- a/.github/workflows/create-issue.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Create issue to track porting between Community and Product docs - -on: - pull_request_target: - types: - - closed - paths-ignore: - - '**/README.md' - -permissions: - issues: write - pull-requests: read - -jobs: - create_issue: - if: github.event.pull_request.merged == true && contains( github.event.pull_request.labels.*.name, 'port/community-product') - runs-on: ubuntu-latest - steps: - - name: Create issue - env: - GH_TOKEN: ${{ github.token }} - REPO_TYPE: ${{ contains( github.repository, 'product-docs') && 'Product' || 'Community' }} - PR_TITLE: ${{ github.event.pull_request.title }} - run: | - gh issue create \ - --repo ${{ github.repository }} \ - --title "Port $REPO_TYPE docs PR #${{ github.event.pull_request.number }}: $PR_TITLE" \ - --body "Reference: https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}" \ - --label port/community-product \ No newline at end of file