plugins.yml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. name: plugins-version-bump
  2. on:
  3. workflow_dispatch:
  4. inputs:
  5. logLevel:
  6. description: 'Log level'
  7. required: false
  8. default: 'warning'
  9. type: choice
  10. options:
  11. - info
  12. - warning
  13. - debug
  14. schedule:
  15. # note: this will keep updating the existing branch
  16. - cron: "*/15 10-14 * * 0,6"
  17. - cron: "0 14 * * 1-5"
  18. jobs:
  19. plugins-version-bump:
  20. if: github.repository_owner == 'LunarVim'
  21. runs-on: ubuntu-latest
  22. continue-on-error: false
  23. permissions:
  24. contents: write
  25. pull-requests: write
  26. steps:
  27. - uses: actions/checkout@v3
  28. - name: Install neovim binary
  29. uses: rhysd/action-setup-vim@v1
  30. with:
  31. neovim: true
  32. version: nightly
  33. - name: Install LunarVim
  34. timeout-minutes: 4
  35. run: |
  36. ./utils/installer/install.sh --local --no-install-dependencies
  37. - name: run upgrade script
  38. run: make generate_new_lockfile
  39. - name: Re-install LunarVim
  40. timeout-minutes: 4
  41. run: |
  42. ./utils/installer/uninstall.sh --remove-backups
  43. ./utils/installer/install.sh --local --no-install-dependencies
  44. - name: Run unit-tests
  45. # NOTE: make sure to adjust the timeout if you start adding a lot of tests
  46. timeout-minutes: 4
  47. run: make test
  48. - name: Create Pull Request
  49. uses: peter-evans/create-pull-request@v4
  50. with:
  51. branch: plugins-bump
  52. delete-branch: true # Delete the branch when closing pull requests, and when undeleted after merging.
  53. token: ${{ secrets.GITHUB_TOKEN }}
  54. author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  55. title: "chore: bump plugins version"
  56. commit-message: "chore: bump plugins version"