From 0fcac7a13251c2aad3988f711cfb672a69f84f38 Mon Sep 17 00:00:00 2001 From: hustcer Date: Sun, 29 Dec 2024 12:25:16 +0800 Subject: [PATCH] Prettier format --- .github/workflows/milestone.yml | 64 ++++++++++++++++----------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/milestone.yml b/.github/workflows/milestone.yml index aedb16f830..4ef9cdecc1 100644 --- a/.github/workflows/milestone.yml +++ b/.github/workflows/milestone.yml @@ -1,32 +1,32 @@ -# Description: -# - Add milestone to a merged PR automatically -# - Add milestone to a closed issue that has a merged PR fix (if any) - -name: Milestone Action -on: - issues: - types: [closed] - pull_request_target: - types: [closed] - -jobs: - update-milestone: - runs-on: ubuntu-latest - name: Milestone Update - steps: - - name: Set Milestone for PR - uses: hustcer/milestone-action@v2 - if: github.event.pull_request.merged == true - with: - action: bind-pr # `bind-pr` is the default action - 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@v2 - if: github.event.issue.state == 'closed' - with: - action: bind-issue - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# Description: +# - Add milestone to a merged PR automatically +# - Add milestone to a closed issue that has a merged PR fix (if any) + +name: Milestone Action +on: + issues: + types: [closed] + pull_request_target: + types: [closed] + +jobs: + update-milestone: + runs-on: ubuntu-latest + name: Milestone Update + steps: + - name: Set Milestone for PR + uses: hustcer/milestone-action@v2 + if: github.event.pull_request.merged == true + with: + action: bind-pr # `bind-pr` is the default action + 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@v2 + if: github.event.issue.state == 'closed' + with: + action: bind-issue + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}