Skip to content

Commit 8066523

Browse files
authored
Merge pull request #3873 from datadryad/remove_clean_institutions_automation
removed clean institutions automation
2 parents 90688ea + fe1aa87 commit 8066523

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

.github/workflows/recurring_tasks_quarterly.yml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -82,46 +82,6 @@ jobs:
8282
PINNED: false
8383
CLOSE_PREVIOUS: true
8484
create_issue3:
85-
name: Institution clean ticket
86-
runs-on: ubuntu-latest
87-
permissions:
88-
issues: write
89-
steps:
90-
- name: Recurring ticket
91-
run: |
92-
if [[ $CLOSE_PREVIOUS == true ]]; then
93-
previous_issue_number=$(gh issue list \
94-
--label "$LABELS" \
95-
--search "$TITLE in:title" \
96-
--json number \
97-
--jq '.[0].number')
98-
if [[ -n $previous_issue_number ]]; then
99-
gh issue close "$previous_issue_number"
100-
gh issue unpin "$previous_issue_number"
101-
fi
102-
fi
103-
new_issue_url=$(gh issue create \
104-
--title "$TITLE" \
105-
--assignee "$ASSIGNEES" \
106-
--label "$LABELS" \
107-
--body "$BODY")
108-
if [[ $PINNED == true ]]; then
109-
gh issue pin "$new_issue_url"
110-
fi
111-
env:
112-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
113-
GH_REPO: ${{ github.repository }}
114-
LABELS: "maintenance"
115-
TITLE: "QUARTERLY: Clean unmatched instituions"
116-
BODY: |
117-
See
118-
- [Cleaning affiliation names](https://github.com/datadryad/dryad-app/blob/main/documentation/technical_notes/affiliations.md#cleaning-affiliation-names)
119-
- [Cleaning contributor names](https://github.com/datadryad/dryad-app/blob/main/documentation/technical_notes/contributors.md#cleaning-contributor-names)
120-
121-
(created by `recurring_tasks_quarterly.yml`)
122-
PINNED: false
123-
CLOSE_PREVIOUS: true
124-
create_issue4:
12585
name: Gem update ticket
12686
runs-on: ubuntu-latest
12787
permissions:

0 commit comments

Comments
 (0)