Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
calendar

GitHub Action

Move to next iteration

v0.1.0

Move to next iteration

calendar

Move to next iteration

Automatically move issues to the next iteration

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Move to next iteration

uses: blombard/[email protected]

Learn more about this action in blombard/move-to-next-iteration

Choose a version

Move to next iteration

Automatically move issues to the next iteration with this Github Action.

Inputs

owner

The account name of the GitHub organization.

number

Project number as you see it in the URL of the project.

token

Personal access token or an OAuth token. the write:org scope is required for read-write access.

iteration-field

The name of your iteration field.

iteration

Should be last or current.

new-iteration

Should be current or next.

statuses

Statuses of the issues to move to the next iteration.

Example

on:
  schedule:
    # Runs "at 23:00, only on Sunday" (see https://crontab.guru)
    - cron: '0 23 * * 0'

jobs:
  move-to-next-iteration:
    name: Move to next iteration
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - uses: blombard/move-to-next-iteration@master
      with:
        owner: OrgName
        number: 1
        token: ${{ secrets.PROJECT_PAT }}
        iteration-field: Iteration
        iteration: current
        new-iteration: next
        statuses: Todo,In Progress,In Review,Done

Sources

This action was made possible thanks to https://github.com/gr2m/github-project.