Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
e3afa5bc
Commit
e3afa5bc
authored
Sep 01, 2022
by
Branch Vincent
Committed by
Bjorn Neergaard
Sep 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add action to backport commits to release branches
parent
ee05f068
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
.github/workflows/backport.yaml
+29
-0
No files found.
.github/workflows/backport.yaml
0 → 100644
View file @
e3afa5bc
name
:
Backport
on
:
pull_request_target
:
types
:
-
closed
-
labeled
jobs
:
backport
:
name
:
Backport
runs-on
:
ubuntu-latest
# Only react to merged PRs for security reasons.
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.
if
:
>
github.event.pull_request.merged
&& (
github.event.action == 'closed'
|| (
github.event.action == 'labeled'
&& contains(github.event.label.name, 'backport')
)
)
steps
:
-
uses
:
tibdex/backport@v2
with
:
github_token
:
${{ secrets.GITHUB_TOKEN }}
title_template
:
"
[<%=
base
%>]
<%=
title
%>"
label_pattern
:
"
^backport/(?<base>([^
]+))$"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment