This action will replicate the cards from source project to target project and sync columns especificadas.
The card will be create in target project, but not will be created in the source project.
When a card change of column in target project, that will be updated in source project, but unlike does not happen.
After a card move to first sync column of source project, this need be moved only in target project, until the last column, after this them car be moved in the source project.
ps: This action only sync card of ISSUE and PULL REQUESTS. DRAFT ISSUES will be not sync.
https://github.com/users/chiaretto/projects/2/views/1
https://github.com/users/chiaretto/projects/2/views/1
https://github.com/users/chiaretto/projects/2/views/1
Required
Required
Required
Required
Required
Required
Required
name: Github Sync Projects
on:
workflow_dispatch:
inputs:
debug:
type: choice
options:
- true
- false
jobs:
sync-project:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
repository-projects: write
steps:
- name: Sync Projects
uses: chiaretto/github-action-sync-projects
with:
github-token: "${{ secrets.ACCESS_TOKEN }}"
repo-source: "${{ github.repository }}"
repo-target: "owner/repo-name"
project-source: "Project Eng"
project-target: "Project QA ๐"
columns-source: "๐ณ - Ready For QA,๐งช - Testing QA,โ
- Ready for Prod"
columns-target: "Todo,In Progress,Done"
debug: "${{ github.event.inputs.debug }}"