Skip to content

Commit a928277

Browse files
chore(ci): remove closed-issue and opened-pr workflows (#7047)
Removing uncessary actions
1 parent c83d15e commit a928277

File tree

2 files changed

+0
-71
lines changed

2 files changed

+0
-71
lines changed

.github/workflows/on_closed_issues.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/on_opened_pr.yml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -41,41 +41,3 @@ jobs:
4141
workflow_origin: ${{ github.event.repository.full_name }}
4242
secrets:
4343
token: ${{ secrets.GITHUB_TOKEN }}
44-
check_related_issue:
45-
permissions:
46-
pull-requests: write # label and comment on PR if missing related issue (requirement)
47-
needs: get_pr_details
48-
runs-on: ubuntu-latest
49-
steps:
50-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
51-
- name: "Ensure related issue is present"
52-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
53-
env:
54-
PR_BODY: ${{ needs.get_pr_details.outputs.prBody }}
55-
PR_NUMBER: ${{ needs.get_pr_details.outputs.prNumber }}
56-
PR_ACTION: ${{ needs.get_pr_details.outputs.prAction }}
57-
PR_AUTHOR: ${{ needs.get_pr_details.outputs.prAuthor }}
58-
with:
59-
github-token: ${{ secrets.GITHUB_TOKEN }}
60-
script: |
61-
const script = require('.github/scripts/label_missing_related_issue.js')
62-
await script({github, context, core})
63-
check_acknowledge_section:
64-
needs: get_pr_details
65-
runs-on: ubuntu-latest
66-
permissions:
67-
pull-requests: write # label and comment on PR if missing acknowledge section (requirement)
68-
steps:
69-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
70-
- name: "Ensure acknowledgement section is present"
71-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
72-
env:
73-
PR_BODY: ${{ needs.get_pr_details.outputs.prBody }}
74-
PR_NUMBER: ${{ needs.get_pr_details.outputs.prNumber }}
75-
PR_ACTION: ${{ needs.get_pr_details.outputs.prAction }}
76-
PR_AUTHOR: ${{ needs.get_pr_details.outputs.prAuthor }}
77-
with:
78-
github-token: ${{ secrets.GITHUB_TOKEN }}
79-
script: |
80-
const script = require('.github/scripts/label_missing_acknowledgement_section.js')
81-
await script({github, context, core})

0 commit comments

Comments
 (0)