Skip to content

Updated internships list #5738

Updated internships list

Updated internships list #5738

Workflow file for this run

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_REVIEW }}
- name: Fetch secrets from key vault
uses: azure/CLI@v2
id: keyvault-yaml-secret
with:
inlineScript: |
TRELLO_KEY=$(az keyvault secret show --name "TRELLO-KEY" --vault-name "${{ secrets.KEY_VAULT_REVIEW }}" --query "value" -o tsv)
echo "::add-mask::$TRELLO_KEY"
echo "TRELLO_KEY=$TRELLO_KEY" >> $GITHUB_OUTPUT
TRELLO_TOKEN=$(az keyvault secret show --name "TRELLO-TOKEN" --vault-name "${{ secrets.KEY_VAULT_REVIEW }}" --query "value" -o tsv)
echo "::add-mask::$TRELLO_TOKEN"
echo "TRELLO_TOKEN=$TRELLO_TOKEN" >> $GITHUB_OUTPUT
- 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 }}