plugins.yml 1.8 KB

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