aboutsummaryrefslogtreecommitdiff
path: root/.github
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 /.github
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.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/update-stubs.yml15
1 files changed, 15 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 .