Skip to content

pf-clipboard-copy #4388

pf-clipboard-copy

pf-clipboard-copy #4388

Workflow file for this run

# This workflow will automatically move cards in the project
# board to reflect that status of an issue.
name: Move issue cards on project board
on:
issues:
types:
- opened
- labeled
- closed
- assigned
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PROJECT_URL: https://github.com/orgs/github/projects/2
jobs:
project_board:
name: Move cards in the project board according to label
runs-on: ubuntu-latest
steps:
- name: Move to prioritization queue
uses: takanabe/github-actions-automate-projects@v0.0.1
if: |
contains(github.event.*.state, 'open') &&
(
github.event.action == 'opened' ||
contains(github.event.*.labels.*.name, 'needs: prioritization')
)
env:
GITHUB_PROJECT_COLUMN_NAME: Needs prioritization
- name: Move to hold
uses: takanabe/github-actions-automate-projects@v0.0.1
if: |
contains(github.event.*.state, 'open') &&
!contains(github.event.*.labels.*.name, 'needs: prioritization') &&
(
contains(github.event.*.labels.*.name, 'blocked') ||
contains(github.event.*.labels.*.name, 'on hold')
)
env:
GITHUB_PROJECT_COLUMN_NAME: On hold
- name: Move to in development queue
uses: takanabe/github-actions-automate-projects@v0.0.1
if: github.event.action == 'connected'
env:
GITHUB_PROJECT_COLUMN_NAME: In development
- name: Archive issues
uses: alex-page/github-project-automation-plus@v0.8.1
if: github.event.action == 'closed'
env:
types: closed
project: Planning
repo-token: ${{ secrets.GITHUB_TOKEN }}
action: archive