aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/update-stubs.yml15
-rw-r--r--README.md4
2 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/update-stubs.yml b/.github/workflows/update-stubs.yml
new file mode 100644
index 0000000..3b9f03a
--- /dev/null
+++ b/.github/workflows/update-stubs.yml
@@ -0,0 +1,15 @@
+name: Update Stubs
+on:
+ workflow_dispatch:
+ inputs:
+jobs:
+ update_stubs:
+ runs-on: ubuntu-latest
+ permissions: { pull-requests: "write" }
+ steps:
+ - uses: actions/checkout@v2
+ - name: Update Stubs with LPM
+ env: { GITHUB_TOKEN: "${{ github.token }}" }
+ run: |
+ wget https://github.com/lite-xl/lite-xl-plugin-manager/releases/download/latest/lpm.x86_64-linux -O lpm && chmod +x lpm
+ ./lpm --plugin https://raw.githubusercontent.com/adamharrison/lite-xl-maintenance/latest/lpm-plugins/gh.lua gh check-stubs-update-pr --staging .
diff --git a/README.md b/README.md
index d6a1c04..b82d0a5 100644
--- a/README.md
+++ b/README.md
@@ -36,6 +36,10 @@ the manifest.json file should be updated to include any new plugins added, as sp
pin the remote to a specific commit hash. Any plugin that is hosted not in a repository,
but only with a `url` must provide a `checksum` that matches the existing plugin.*
+*Any commits specified with a `remote` will automatically be checked for updates to the `latest` branch, and PRs will
+automaticaly be created for them on a recurring basis to keep things up to date. Stubs can specify an alternate branch
+to follow with `extra.follow_branch`.*
+
*Any non-conforming PRs will not be accepted. The table below will be updated automatically.*
*Any entries marked with an asterisk are hosted on external repositories.*