Skip to content

Move Community Issues to Next Sprint #7

Move Community Issues to Next Sprint

Move Community Issues to Next Sprint #7

name: Move Community Issues to Next Sprint
on:
workflow_dispatch:
jobs:
move-to-next-iteration:
runs-on: ubuntu-latest
name: Move Community Issues to Next Sprint
steps:
- name: Get current date
id: get-current-date
run: echo "current_date=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v2
- name: Is Last Day of Current Sprint
continue-on-error: true
id: is-last-day-of-current-sprint
uses: derekbit/is-last-day-of-sprint@v0.0.1
with:
owner: longhorn
number: 5
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
date: ${{ env.current_date }}
- name: Print the result
run: |
echo "${{ steps.is-last-day-of-current-sprint.outputs.last_day }}"
ls -al
pwd
# - name: Move to next sprint
# uses: blombard/move-to-next-iteration@master
# with:
# owner: longhorn
# number: 5
# token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
# iteration-field: Iteration
# iteration: current
# new-iteration: next
# statuses: 'New,In Progress'