release-7.x scheduled #27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # If there are failures running this workflow, please resolve them on the release-7.x branch | |
| # and then port any necessary changes to this branch. | |
| name: release-7.x scheduled | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| # Weekly at 9:35 on Friday | |
| # Somewhat weird timing so that it isn't delayed too much | |
| - cron: '35 9 * * 5' | |
| jobs: | |
| lint: | |
| uses: projectblacklight/blacklight/.github/workflows/[email protected] | |
| with: | |
| ref: release-7.x | |
| test: | |
| uses: projectblacklight/blacklight/.github/workflows/[email protected] | |
| with: | |
| ref: release-7.x | |
| docker_build: | |
| uses: projectblacklight/blacklight/.github/workflows/[email protected] | |
| with: | |
| ref: release-7.x | |
| report: | |
| runs-on: ubuntu-latest | |
| if: ${{ always() && contains(join(needs.*.result, ','), 'failure') }} | |
| needs: [lint, test, docker_build] | |
| steps: | |
| - name: Report on failure of any dependent job | |
| env: | |
| NEEDS: ${{ toJSON(needs) }} | |
| uses: slackapi/[email protected] | |
| with: | |
| method: chat.postMessage | |
| token: ${{ secrets.SLACK_BOT_TOKEN }} | |
| payload: | | |
| channel: ${{ secrets.SLACK_CHANNEL_ID }} | |
| text: "The weekly CI run of the release-7.x branch has failed" |