MIRROR: Git backporting is a CLI tool to execute pull request backporting.
Find a file
dependabot[bot] 689086d7bd
Bump @typescript-eslint/parser from 5.45.1 to 5.47.0 (#12)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.45.1 to 5.47.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.47.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-23 19:40:43 +01:00
.github minors 2022-12-23 19:38:57 +01:00
.husky Base implementation 2022-12-23 19:03:23 +01:00
build minors 2022-12-23 19:38:57 +01:00
dist minors 2022-12-23 19:38:57 +01:00
src minors 2022-12-23 19:38:57 +01:00
test minors 2022-12-23 19:38:57 +01:00
.eslintignore project setup 2022-12-06 18:10:30 +01:00
.eslintrc Base implementation 2022-12-23 19:03:23 +01:00
.gitignore Base implementation 2022-12-23 19:03:23 +01:00
action.yml Base implementation 2022-12-23 19:03:23 +01:00
CHANGELOG.md project setup 2022-12-06 18:10:30 +01:00
jest.config.ts Base implementation 2022-12-23 19:03:23 +01:00
package-lock.json Bump @typescript-eslint/parser from 5.45.1 to 5.47.0 (#12) 2022-12-23 19:40:43 +01:00
package.json Bump @typescript-eslint/parser from 5.45.1 to 5.47.0 (#12) 2022-12-23 19:40:43 +01:00
README.md Base implementation 2022-12-23 19:03:23 +01:00
tsconfig.json Base implementation 2022-12-23 19:03:23 +01:00

BPER: Git Backporter

📤 📥

CI Checks Status


BPer is a NodeJS command line tool that provides capabilities to backport [1] pull requests in an automated way. This tool also comes with a predefined GitHub action in order to make CI/CD integration easier for all users.

[1] backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Table of content

Usage

Inputs

GitHub Action

This action can be used in any GitHub workflow, below you can find a simple example of manually triggered workflow backporting a specific pull request (provided as input).

name: Pull Request Backporting using BPer

on: 
  workflow_dispatch:
    inputs:
      targetBranch:
        description: 'Target branch'
        required: true
        type: string
      pullRequest:
        description: 'Pull request'
        required: true 
        type: string
      dryRun:
        description: 'Dry run'
        required: false
        default: "true" 
        type: string

jobs:
  backporting:
    name: "Backporting"
    runs-on: ubuntu-latest
    steps:
      - name: Backporting
        uses: lampajr/backporting@main
        with:
          target-branch: ${{ inputs.targetBranch }}
          pull-request: ${{ inputs.pullRequest }}
          auth: ${{ secrets.GITHUB_TOKEN }}
          dry-run: ${{ inputs.dryRun }}

You can also use this action with other events - you'll just need to specify target-branch and pull-request params.

For a complete description of all inputs see Inputs section.

Limitations

Contributions