plugins.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. runs-on: ubuntu-latest
  21. continue-on-error: true
  22. permissions:
  23. contents: write
  24. pull-requests: write
  25. steps:
  26. - uses: actions/checkout@v3
  27. - name: Install neovim binary
  28. uses: rhysd/action-setup-vim@v1
  29. with:
  30. neovim: true
  31. version: nightly
  32. - name: Install LunarVim
  33. timeout-minutes: 4
  34. run: |
  35. ./utils/installer/install.sh --local --no-install-dependencies
  36. - name: run upgrade script
  37. run: make generate_new_lockfile
  38. - name: Re-install LunarVim
  39. timeout-minutes: 4
  40. run: |
  41. ./utils/installer/uninstall.sh --remove-backups
  42. ./utils/installer/install.sh --local --no-install-dependencies
  43. - name: Run unit-tests
  44. # NOTE: make sure to adjust the timeout if you start adding a lot of tests
  45. timeout-minutes: 4
  46. run: make test
  47. - name: Create Pull Request
  48. uses: peter-evans/create-pull-request@v4
  49. with:
  50. branch: plugins-bump
  51. delete-branch: true # Delete the branch when closing pull requests, and when undeleted after merging.
  52. token: ${{ secrets.GITHUB_TOKEN }}
  53. author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  54. title: "chore: bump plugins version"
  55. commit-message: "chore: bump plugins version"