File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,11 +59,11 @@ jobs:
5959 #
6060 # https://docs.github.com/actions/reference/context-and-expression-syntax-for-github-actions#job-status-check-functions
6161
62- - if : ${{ failure() }}
62+ - if : ${{ failure() && env.FREEZE != 'true' }}
6363 name : Get title for issue
6464 id : check
6565 run : echo "::set-output name=title::$(head -1 broken_github_github_links.md)"
66- - if : ${{ failure() }}
66+ - if : ${{ failure() && env.FREEZE != 'true' }}
6767 name : Create issue from file
6868 id : github-github-broken-link-report
6969 uses : peter-evans/create-issue-from-file@b4f9ee0a9d4abbfc6986601d9b1a4f8f8e74c77e
Original file line number Diff line number Diff line change 6868 branch : enterprise-server-dates-update
6969 delete-branch : true
7070
71- - if : ${{ failure() }}
71+ - if : ${{ failure() && env.FREEZE != 'true' }}
7272 name : Delete remote branch (if previous steps failed)
7373 uses : dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911
7474 with :
8484
8585 - name : Send Slack notification if workflow fails
8686 uses : someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340
87- if : failure()
87+ if : ${{ failure() && env.FREEZE != 'true' }}
8888 with :
8989 channel : ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
9090 bot-token : ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
Original file line number Diff line number Diff line change 5858 project : Core docs work for the current week
5959 project-column : Should do
6060 branch : remove-unused-assets
61- - if : ${{ failure() }}
61+ - if : ${{ failure() && env.FREEZE != 'true' }}
6262 name : Delete remote branch (if previous steps failed)
6363 uses : dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911
6464 with :
Original file line number Diff line number Diff line change 7575 number : ${{ steps.create-pull-request.outputs.pull-request-number }}
7676 - name : Send Slack notification if workflow fails
7777 uses : someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340
78- if : failure()
78+ if : ${{ failure() && env.FREEZE != 'true' }}
7979 with :
8080 channel : ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
8181 bot-token : ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments