Skip to content

Commit

Permalink
Add GitHub Actions configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh5 committed Feb 29, 2024
1 parent 51fc092 commit 8ab731f
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: Josh5
patreon: Josh5
open_collective: # Replace with a single Open Collective username
ko_fi: josh5coffee
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
37 changes: 37 additions & 0 deletions .github/workflows/auto-build-and-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Automatically build and publish this plugin

on:
push:
branches:
- 'master'

jobs:

build-and-publish-plugin:
runs-on: ubuntu-latest
name: Build and publish plugin
steps:

# Execute plugin repo gen action
- name: Build and publish plugin
uses: Unmanic/action.build-and-publish-unmanic-plugin@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

generate-pr-in-official-repo:
runs-on: ubuntu-latest
name: Generate PR for official repo
permissions:
contents: write
actions: write
pull-requests: write
steps:

# Execute PR generation action
- name: Generate PR for official repo
uses: Unmanic/action.open-pr-to-unmanic-repo@master
with:
dst_repo: Unmanic/unmanic-plugins
pr_repo: Unmanic/unmanic-plugins
pr_repo_branch_name: official
github_token: ${{ secrets.GH_TOKEN }}

0 comments on commit 8ab731f

Please sign in to comment.