From 7655f31c565a83af5d2e2917a27fbe8ae936a86b Mon Sep 17 00:00:00 2001 From: Ben Ahmady <32935794+subatoi@users.noreply.github.com> Date: Thu, 16 Oct 2025 11:39:11 +0100 Subject: [PATCH] Revert "Adds workflow for assigning DIY docs PR/issues openers" (#58018) --- .github/workflows/assign-diy-docs.yml | 30 --------------------------- 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/assign-diy-docs.yml diff --git a/.github/workflows/assign-diy-docs.yml b/.github/workflows/assign-diy-docs.yml deleted file mode 100644 index ca9b04ea6a..0000000000 --- a/.github/workflows/assign-diy-docs.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Assign DIY docs issues - -on: - issues: - types: labeled - workflow_call: - -permissions: - contents: read -jobs: - assign_diy_docs_issues: - name: Assign issues labelled with "DIY docs" to the issue creator - if: >- - github.repository_owner == 'github' && github.repository != 'github/docs' && - github.event.label.name == 'DIY docs' - runs-on: ubuntu-latest - steps: - - name: Assign to creator - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd - with: - script: | - const item = context.payload.issue; - const creator = item.user.login; - const issueNumber = item.number; - await github.rest.issues.addAssignees({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: issueNumber, - assignees: [creator] - });