From: Kefu Chai Date: Sat, 6 Mar 2021 13:18:13 +0000 (+0800) Subject: .github: add workflow for adding milestone X-Git-Tag: v14.2.18~4^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f9bd35d3e72b4af6f9610e07c5b394b5b902c306;p=ceph.git .github: add workflow for adding milestone Signed-off-by: Kefu Chai (cherry picked from commit 1657a44750442ff2582d601fb028aa89e3a95999) --- diff --git a/.github/milestone.yml b/.github/milestone.yml new file mode 100644 index 00000000000..e5cd0b24c56 --- /dev/null +++ b/.github/milestone.yml @@ -0,0 +1,6 @@ +base-branch: + - "luminous" + - "nautilus" + - "octopus" + - "pacific" + - "quincy" diff --git a/.github/workflows/milestone.yml b/.github/workflows/milestone.yml new file mode 100644 index 00000000000..db8aa86ac66 --- /dev/null +++ b/.github/workflows/milestone.yml @@ -0,0 +1,14 @@ +--- +name: "Pull Request Add Milestone" +on: + pull_request: + types: + - opened +jobs: + milestone: + runs-on: ubuntu-latest + steps: + - uses: iyu/actions-milestone@v1 + with: + configuration-path: .github/milestone.yml + repo-token: "${{ secrets.GITHUB_TOKEN }}"