Skip to content

Commit cee2aea

Browse files
authored
chore: update build/, Makefile and integration test script (#204)
Signed-off-by: Duologic <[email protected]>
1 parent 9f1195b commit cee2aea

File tree

10 files changed

+272
-109
lines changed

10 files changed

+272
-109
lines changed

.github/workflows/backport.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Backport
2+
3+
on:
4+
# NOTE(negz): This is a risky target, but we run this action only when and if
5+
# a PR is closed, then filter down to specifically merged PRs. We also don't
6+
# invoke any scripts, etc from within the repo. I believe the fact that we'll
7+
# be able to review PRs before this runs makes this fairly safe.
8+
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
9+
pull_request_target:
10+
types: [closed]
11+
# See also commands.yml for the /backport triggered variant of this workflow.
12+
13+
jobs:
14+
# NOTE(negz): I tested many backport GitHub actions before landing on this
15+
# one. Many do not support merge commits, or do not support pull requests with
16+
# more than one commit. This one does. It also handily links backport PRs with
17+
# new PRs, and provides commentary and instructions when it can't backport.
18+
# The main gotcha with this action is that PRs _must_ be labelled before they're
19+
# merged to trigger a backport.
20+
open-pr:
21+
runs-on: ubuntu-22.04
22+
if: github.event.pull_request.merged
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v3
26+
27+
- name: Open Backport PR
28+
uses: korthout/backport-action@v1

0 commit comments

Comments
 (0)