awesome_bot.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # This is a basic workflow to help you get started with Actions
  2. name: Ruby
  3. # Controls when the action will run.
  4. on:
  5. # Triggers the workflow on push or pull request events but only for the master branch
  6. push:
  7. branches: [ master ]
  8. pull_request:
  9. branches: [ master ]
  10. # Allows you to run this workflow manually from the Actions tab
  11. workflow_dispatch:
  12. # A workflow run is made up of one or more jobs that can run sequentially or in parallel
  13. jobs:
  14. # This workflow contains a single job called "build"
  15. build:
  16. # The type of runner that the job will run on
  17. runs-on: ubuntu-latest
  18. # Steps represent a sequence of tasks that will be executed as part of the job
  19. steps:
  20. # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
  21. - uses: actions/checkout@v2
  22. # Setup Ruby 2.6
  23. - name: Setup Ruby 2.6
  24. uses: actions/setup-ruby@v1
  25. with:
  26. ruby-version: 2.6.x
  27. - name: Checks
  28. run: |
  29. ruby .github/osia_convert.rb
  30. gem install awesome_bot
  31. ruby .github/osia_get_links.rb
  32. awesome_bot check-unique.txt --allow-ssl -a 302,429 -w xbmc/xbmc