aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/update-stubs.yml
blob: 8d08db32ebd71211cd184277ecccec5e7750e186 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
name: Update Stubs
on:
  workflow_dispatch:

jobs:
  update_stubs:
    runs-on: ubuntu-latest
    permissions: { pull-requests: "write", contents: "write" }
    steps:
      - uses: actions/checkout@v4
      - name: Update Stubs with LPM
        env: { GITHUB_TOKEN: "${{ github.token }}" }
        run: |
          git config --global user.name "Github Actions" && git config --global user.email "<>"
          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 . --remotes