Giter Site home page Giter Site logo

github-action-sync-projects-fork's Introduction

github-action-sync-projects

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.

Example Board Project Source

Board Image

Example Board Project Target

Board Image

Example Board Project Source Workflow

Board Image

Inputs

github-token: ${{ secrets.ACCESS_TOKEN }}

Required

This token need write permission in both repositories

repo-source: ${{ github.repository }}

Required

repo-target: owener/repo

Required

project-source: Project Source Name

Required

project-target: Project Target Name

Required

columns-source: ColumnSource1, ColumnSource2, ColumnSource3

Required

columns-target: ColumnTarget1, ColumnTarget2, ColumnTarget3

Required

Example usage

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 }}"

github-action-sync-projects-fork's People

Contributors

fabianofernandeszup avatar chiaretto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.