From 1657a44750442ff2582d601fb028aa89e3a95999 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 6 Mar 2021 21:18:13 +0800 Subject: [PATCH] .github: add workflow for adding milestone Signed-off-by: Kefu Chai --- .github/milestone.yml | 6 ++++++ .github/workflows/milestone.yml | 14 ++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .github/milestone.yml create mode 100644 .github/workflows/milestone.yml 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 }}" -- 2.47.3