aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/update-stubs.yml
blob: 323a059fadbeb38bc8988e8c52c72f5808752662 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: Update Stubs
on:
  workflow_dispatch:
    inputs:
jobs:
  update_stubs:
    runs-on: ubuntu-latest
    permissions: { pull-requests: "write", contents: "write" }
    steps:
      - uses: actions/checkout@v2
      - name: Update Stubs with LPM
        env:
          GITHUB_TOKEN: "${{ github.token }}"
          LPM_PLUGINS: "https://raw.githubusercontent.com/adamharrison/lite-xl-maintenance/latest/lpm-plugins/gh.lua"
        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 gh check-stubs-update-pr --staging .