Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

nightly-qa.yml 887B

1234567891011121314151617181920212223242526272829
  1. name: Nightly QA
  2. on:
  3. schedule:
  4. # at 1:30 daily
  5. - cron: "30 1 * * *"
  6. jobs:
  7. nightly:
  8. # prevent job to run on public repository sonarsource/sonarqube
  9. if: github.repository == 'sonarsource/sonar-enterprise'
  10. runs-on: ubuntu-latest
  11. name: Trigger the nightly QA build
  12. steps:
  13. - name: Fetch code
  14. uses: actions/checkout@v2
  15. with:
  16. token: ${{ secrets.GITHUB_ORG_TOKEN }}
  17. ref: branch-nightly-build
  18. path: repo
  19. - name: Trigger nightly build
  20. run: |
  21. cd repo/
  22. ./private/trigger-nightly-build.sh
  23. - name: Notify failures on Slack
  24. if: failure()
  25. uses: Ilshidur/action-slack@2.0.0
  26. env:
  27. SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
  28. with:
  29. args: "Nightly QA failed, see the logs at https://github.com/SonarSource/sonar-enterprise/actions"