From 995162cb24a8c03e01b44c5d37fe805b5ba7bea2 Mon Sep 17 00:00:00 2001 From: Gaofei Zhao <15748980+dippindots@users.noreply.github.com> Date: Tue, 28 Jan 2025 14:44:48 -0500 Subject: [PATCH] Create new git action: sprint-issues-rollover Sprint Issues Rollover script will roll over issue sprint on every Monday night --- .github/workflows/sprint-issues-rollover.yml | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/sprint-issues-rollover.yml diff --git a/.github/workflows/sprint-issues-rollover.yml b/.github/workflows/sprint-issues-rollover.yml new file mode 100644 index 00000000000..46b40dc57a6 --- /dev/null +++ b/.github/workflows/sprint-issues-rollover.yml @@ -0,0 +1,23 @@ +# This workflow will move all unfinish tickets to the next sprint + +name: "Sprint Issues Rollover" + +on: + schedule: + # Runs every Monday at 6pm EST + - cron: "0 22 * * 1" + +jobs: + main: + name: Move to next sprint + runs-on: ubuntu-latest + steps: + - uses: blombard/move-to-next-iteration@master + with: + owner: cBioPortal + number: 19 # The project number as you see it in the URL + token: ${{secrets.PROJECT_PAT}} # Needs 'project' write perms + iteration-field: Sprint # https://github.com/blombard/move-to-next-iteration/issues/7 + iteration: current + new-iteration: next + excluded-statuses: Done