aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <adamdharrison@gmail.com>2024-03-27 11:47:36 -0400
committerGitHub <noreply@github.com>2024-03-27 16:47:36 +0100
commit4077626507f857bfccadcd83bcb08810aa3a35a0 (patch)
tree6645adb4b6f6b57209ec653d5fe8b45653c9d545
parent50ae3df3d3431c54aca5fe983ee4997e2b3c67c6 (diff)
downloadlite-xl-plugins-4077626507f857bfccadcd83bcb08810aa3a35a0.tar.gz
lite-xl-plugins-4077626507f857bfccadcd83bcb08810aa3a35a0.zip
Added in Option to Stub Update (#393)
* Added in stub updating. * Fixed thing. * Renamed job. * Updated to include tokens. * Added permissions. * Added in staging . * This is where it begins dayo. * Updated README.md. * Removed unecessary permission. * Testing update.
-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.*