Convert security settings and decision review to typescript #1685
This file contains 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
name: Pull Request Helper | |
on: | |
pull_request: | |
jobs: | |
comment_pr: | |
name: Comment on PR | |
runs-on: ubuntu-latest | |
#dependabot doesn't get write access | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
steps: | |
- name: Find Comment | |
uses: peter-evans/find-comment@v3 | |
id: fc | |
with: | |
issue-number: ${{ github.event.pull_request.number }} | |
comment-author: 'github-actions[bot]' | |
- name: Add Comment | |
if: steps.fc.outputs.comment-id == 0 | |
uses: peter-evans/create-or-update-comment@v4 | |
with: | |
comment-id: ${{ steps.fc.outputs.comment-id }} | |
edit-mode: replace | |
issue-number: ${{ github.event.pull_request.number }} | |
body: | | |
[Integration Deployment :rocket: ](https://sch-d-${{ github.head_ref }}.bdm.dshp-phdn.net) - [Build Status](https://teamcity.dev-dp.admin.dts-stn.com/buildConfiguration/BdmDevelopment_SecureClientHubProject_BuildDynamic?branch=${{ github.head_ref }}&buildTypeTab=overview&mode=builds) | |
![Default Tests Workflow Status](https://github.com/DTS-STN/${{ github.event.pull_request.base.repo.name }}/actions/workflows/default-tests.yml/badge.svg?branch=${{ github.head_ref }}) | |
[Jest Coverage Report](https://dts-stn.github.io/${{ github.event.pull_request.base.repo.name }}/${{ github.ref }}/unit-test-results/lcov-report/) | |
[Cypress Coverage Report](https://dts-stn.github.io/${{ github.event.pull_request.base.repo.name }}/${{ github.ref }}/e2e-test-report/) |