Skip to content

Commit cd0d557

Browse files
committed
Add gitlab actions config
1 parent 5a0f3b3 commit cd0d557

2 files changed

Lines changed: 49 additions & 0 deletions

File tree

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: Josh5
4+
patreon: Josh5
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: josh5coffee
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Automatically build and publish this plugin
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master'
7+
8+
jobs:
9+
10+
build-and-publish-plugin:
11+
runs-on: ubuntu-latest
12+
name: Build and publish plugin
13+
steps:
14+
15+
# Execute plugin repo gen action
16+
- name: Build and publish plugin
17+
uses: Unmanic/action.build-and-publish-unmanic-plugin@master
18+
with:
19+
github_token: ${{ secrets.GITHUB_TOKEN }}
20+
21+
generate-pr-in-official-repo:
22+
runs-on: ubuntu-latest
23+
name: Generate PR for official repo
24+
permissions:
25+
contents: write
26+
actions: write
27+
pull-requests: write
28+
steps:
29+
30+
# Execute PR generation action
31+
- name: Generate PR for official repo
32+
uses: Unmanic/action.open-pr-to-unmanic-repo@master
33+
with:
34+
dst_repo: Unmanic/unmanic-plugins
35+
pr_repo: Unmanic/unmanic-plugins
36+
pr_repo_branch_name: official
37+
github_token: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)