From: Kefu Chai Date: Sat, 6 Mar 2021 13:18:13 +0000 (+0800) Subject: .github: add workflow for adding milestone X-Git-Tag: v17.1.0~2715^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F39886%2Fhead;p=ceph.git .github: add workflow for adding milestone Signed-off-by: Kefu Chai --- diff --git a/.github/milestone.yml b/.github/milestone.yml new file mode 100644 index 000000000000..e5cd0b24c56a --- /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 000000000000..db8aa86ac66b --- /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 }}"