Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit 7209054

Browse files
Setup release/0.2.z actions (#53)
1 parent 960357d commit 7209054

File tree

3 files changed

+36
-7
lines changed

3 files changed

+36
-7
lines changed

.github/workflows/backport.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Backport
2+
on:
3+
pull_request_target:
4+
types: [ closed ]
5+
issue_comment:
6+
types: [ created ]
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
jobs:
11+
backport:
12+
name: Backport pull request
13+
runs-on: ubuntu-latest
14+
if: >
15+
(
16+
github.event_name == 'pull_request_target' &&
17+
github.event.pull_request.merged
18+
) || (
19+
github.event_name == 'issue_comment' &&
20+
github.event.issue.pull_request &&
21+
github.event.comment.user.id != 97796249 &&
22+
startsWith(github.event.comment.body, '/backport')
23+
)
24+
steps:
25+
- uses: actions/checkout@v4
26+
- name: Create backport pull requests
27+
uses: korthout/backport-action@v3
28+
with:
29+
merge_commits: skip

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ name: CI
33
on:
44
push:
55
branches:
6-
- main
7-
- "release-*"
6+
- "main"
7+
- "release/*"
88
pull_request:
99
branches:
10-
- main
11-
- "release-*"
10+
- "main"
11+
- "release/*"
1212

1313
concurrency:
1414
group: trustify-operator-ci-${{ github.ref }}
@@ -58,7 +58,7 @@ jobs:
5858
- name: Install required virtualization software
5959
run: |
6060
sudo apt-get update
61-
sudo apt install qemu-kvm libvirt-daemon libvirt-daemon-system
61+
sudo apt install qemu-kvm libvirt-daemon libvirt-daemon-system virtiofsd
6262
sudo usermod -a -G libvirt $USER
6363
- name: Remove unwanted stuff to free up disk image
6464
run: |
@@ -117,4 +117,4 @@ jobs:
117117
needs: build-operator-bundle
118118
uses: trustification/trustify-ci/.github/workflows/global-ci.yml@main
119119
with:
120-
operator_bundle: ttl.sh/trustify-operator-bundle-${{ github.sha }}:2h
120+
operator_bundle: ttl.sh/trustify-operator-bundle-${{ github.sha }}:2h

.github/workflows/image-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
push:
66
branches:
77
- "main"
8-
- "release-*"
8+
- "release/*"
99
tags:
1010
- "v*"
1111

0 commit comments

Comments
 (0)