File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 github-token : ${{ secrets.GITHUB_TOKEN }}
2727
2828 - name : Auto-approve Dependabot PR
29- if : steps.metadata.outputs.update-type == 'version-update:semver-patch'
3029 uses : hmarr/auto-approve-action@v4
3130 with :
3231 github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -312,3 +312,19 @@ jobs:
312312
313313 - name : poetry test publish
314314 run : poetry publish -r testpypi
315+
316+ slack-notification :
317+ runs-on : ubuntu-latest
318+ needs :
319+ - coverage
320+ - lint
321+ - publish
322+ if : ${{ always() && github.repository == 'NHSDigital/mesh-sandbox' && github.actor == 'dependabot[bot]' && contains(needs.*.result, 'failure') }}
323+ steps :
324+ - name : Slack Notification
325+ uses : slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a
326+ with :
327+ webhook : ${{ secrets.DEPENDABOT_SLACK_WEBHOOK_URL }}
328+ webhook-type : incoming-webhook
329+ payload : |
330+ text : "Dependabot PR checks failed for ${{ github.repository }}:${{ github.ref }} in PR #${{ github.event.number }}"
Original file line number Diff line number Diff line change @@ -530,9 +530,9 @@ typing-extensions==4.15.0 ; python_version >= "3.11" and python_full_version < "
530530typing-inspection == 0.4.2 ; python_version >= "3.11" and python_full_version < "3.14.0" \
531531 --hash =sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7 \
532532 --hash =sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464
533- urllib3 == 2.6.2 ; python_version >= "3.11" and python_full_version < "3.14.0" \
534- --hash =sha256:016f9c98bb7e98085cb2b4b17b87d2c702975664e4f060c6532e64d1c1a5e797 \
535- --hash =sha256:ec21cddfe7724fc7cb4ba4bea7aa8e2ef36f607a4bab81aa6ce42a13dc3f03dd
533+ urllib3 == 2.6.3 ; python_version >= "3.11" and python_full_version < "3.14.0" \
534+ --hash =sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed \
535+ --hash =sha256:bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4
536536uvicorn == 0.40.0 ; python_version >= "3.11" and python_full_version < "3.14.0" \
537537 --hash =sha256:839676675e87e73694518b5574fd0f24c9d97b46bea16df7b8c05ea1a51071ea \
538538 --hash =sha256:c6c8f55bc8bf13eb6fa9ff87ad62308bbbc33d0b67f84293151efe87e0d5f2ee
You can’t perform that action at this time.
0 commit comments