Revert "Add milestone to a closed issue that has a merged PR fix automaticall…"

This reverts commit 8812072f06.
This commit is contained in:
Darren Schroeder 2024-10-20 15:44:49 -05:00 committed by GitHub
parent 8812072f06
commit 97655a291a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,11 +1,8 @@
# Description:
# - Add milestone to a merged PR automatically
# - Add milestone to a closed issue that has a merged PR fix (if any)
# - Update milestone of a merged PR
name: Milestone Action
on:
issues:
types: [closed]
pull_request_target:
types: [closed]
@ -13,18 +10,9 @@ jobs:
update-milestone:
runs-on: ubuntu-latest
name: Milestone Update
if: ${{github.event.pull_request.merged == true}}
steps:
- name: Set Milestone for PR
- name: Set Milestone
uses: hustcer/milestone-action@main
if: github.event.pull_request.merged == true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Bind milestone to closed issue that has a merged PR fix
- name: Set Milestone for Issue
uses: hustcer/milestone-action@main
if: github.event.issue.state == 'closed'
with:
action: bind-issue
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}