Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a backport workflow #15971

Merged
merged 7 commits into from
May 5, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/backport.yml
Piedone marked this conversation as resolved.
Show resolved Hide resolved
Piedone marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Backport PR to branch
on:
MikeAlhayek marked this conversation as resolved.
Show resolved Hide resolved
issue_comment:
types: [created]
schedule:
# once a day at 13:00 UTC to cleanup old runs
MikeAlhayek marked this conversation as resolved.
Show resolved Hide resolved
- cron: '0 13 * * *'

permissions:
contents: write
issues: write
pull-requests: write
actions: write

jobs:
backport:
if: ${{ contains(github.event.comment.body, '/backport to') || github.event_name == 'schedule' }}
uses: dotnet/arcade/.github/workflows/backport-base.yml@main
Piedone marked this conversation as resolved.
Show resolved Hide resolved
with:
repository_owners: 'OrchardCMS'

pr_description_template: |
Backport of #%source_pr_number% to %target_branch%

/cc %cc_users%

## Risk

## Regression?
Piedone marked this conversation as resolved.
Show resolved Hide resolved