aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/update-stubs.yml
blob: 451d31fdc243575f3bfd86efa23d71bc06a863e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
name: Update Stubs
on:
  workflow_dispatch:
    inputs:
jobs:
  update_stubs:
    runs-on: ubuntu-latest
    permissions: { pull-requests: "write", contents: "write" }
    steps:
      - uses: actions/checkout@v3
      - 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