Skip to content

Commit

Permalink
chore: adjust milestone setting rules (#5327)
Browse files Browse the repository at this point in the history
  • Loading branch information
JashBook authored Oct 8, 2023
1 parent 319141d commit 7ceda7c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/milestone-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,30 @@ on:
workflow_dispatch:
issues:
types:
- opened
- closed
pull_request_target:
types:
- opened
- closed


jobs:
issue-milestone:
if: ${{ github.event_name == 'issues' }}
uses: apecloud/apecloud-cd/.github/workflows/[email protected].31
uses: apecloud/apecloud-cd/.github/workflows/[email protected].32
with:
APECD_REF: "v0.1.31"
APECD_REF: "v0.1.32"
secrets: inherit

pr-milestone:
if: ${{ github.event_name == 'pull_request_target' }}
uses: apecloud/apecloud-cd/.github/workflows/[email protected].31
uses: apecloud/apecloud-cd/.github/workflows/[email protected].32
with:
APECD_REF: "v0.1.31"
APECD_REF: "v0.1.32"
secrets: inherit

move_milestone:
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: apecloud/apecloud-cd/.github/workflows/[email protected].31
uses: apecloud/apecloud-cd/.github/workflows/[email protected].32
with:
APECD_REF: "v0.1.31"
APECD_REF: "v0.1.32"
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/milestoneclose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ env:

jobs:
move_milestone:
uses: apecloud/apecloud-cd/.github/workflows/[email protected].31
uses: apecloud/apecloud-cd/.github/workflows/[email protected].32
with:
APECD_REF: "v0.1.31"
APECD_REF: "v0.1.32"
secrets: inherit

move_issues:
Expand Down

0 comments on commit 7ceda7c

Please sign in to comment.