You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

suggest-dependency-upgrades.yml 1.1KB

12345678910111213141516171819202122232425262728293031323334353637
  1. name: Suggest dependency upgrades
  2. on:
  3. # use push to test the bot
  4. # push:
  5. # branches-ignore:
  6. # - 'bot/upgrade_plugins**'
  7. schedule:
  8. # at 5:00 every Monday
  9. - cron: '0 5 * * MON'
  10. jobs:
  11. suggest-upgrades-job:
  12. # prevent job to run on public repository sonarsource/sonarqube (on which GitHub Actions are disabled)
  13. if: github.repository == 'sonarsource/sonar-enterprise'
  14. runs-on: ubuntu-latest
  15. name: List available upgrades
  16. steps:
  17. - uses: actions/checkout@v2
  18. with:
  19. fetch-depth: 1
  20. ref: master
  21. - name: Set up JDK
  22. uses: actions/setup-java@v1
  23. with:
  24. java-version: 11
  25. - name: Cache Gradle Wrapper
  26. uses: actions/cache@v1
  27. with:
  28. path: ~/.gradle/wrapper
  29. key: ${{ runner.os }}-gradlew-${{ hashFiles('**/*.zip') }}
  30. restore-keys: ${{ runner.os }}-gradlew
  31. - name: Find upgrades
  32. env:
  33. ARTIFACTORY_PRIVATE_USERNAME: ${{ secrets.REPOX_LOGIN }}
  34. ARTIFACTORY_PRIVATE_PASSWORD: ${{ secrets.REPOX_API_KEY }}
  35. run: |
  36. ./gradlew dependencyUpdates yarn_audit -Drevision=release