Attempt to fix cancellation reason not rendering #2753
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: Link Trello card | |
on: | |
pull_request: | |
types: [ opened , edited] | |
jobs: | |
attach-to-trello: | |
name: Link Trello card to this PR | |
runs-on: ubuntu-latest | |
if: "!contains( 'dependabot[bot] snyk-bot' , github.actor )" | |
steps: | |
- uses: Azure/login@v2 | |
with: | |
creds: ${{ secrets.AZURE_CREDENTIALS }} | |
- uses: DfE-Digital/keyvault-yaml-secret@v1 | |
id: keyvault-yaml-secret | |
with: | |
keyvault: ${{ secrets.KEY_VAULT}} | |
secret: SE-INFRA-SECRETS | |
key: TRELLO-KEY , TRELLO-TOKEN | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- name: Add Trello Comment | |
uses: DFE-Digital/github-actions/AddTrelloComment@master | |
with: | |
MESSAGE: ${{ github.event.pull_request.html_url }} | |
CARD: "${{ github.event.pull_request.body }}" | |
TRELLO-KEY: ${{ steps.keyvault-yaml-secret.outputs.TRELLO-KEY }} | |
TRELLO-TOKEN: ${{ steps.keyvault-yaml-secret.outputs.TRELLO-TOKEN }} |