Add simple feature flag for feedback that can be enabled / disabled per env #4555
Workflow file for this run
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@v1 | |
with: | |
creds: ${{ secrets.AZURE_CREDENTIALS }} | |
- uses: DfE-Digital/keyvault-yaml-secret@v1 | |
id: keyvault-yaml-secret | |
with: | |
keyvault: ${{ secrets.KEY_VAULT}} | |
secret: INFRA-KEYS | |
key: TRELLO-KEY , TRELLO-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 }} |