Skip to content

Commit

Permalink
Remove danger from pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Garma00 committed Feb 10, 2023
1 parent d304988 commit 56f70ca
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .devops/code-review-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
# Azure DevOps pipeline to build, check source codes and run tests.
#
# To make Danger JS run on a pull request you need to add the following pipeline
# variable and set it with a GitHub access token (scope public_repo); otherwise
# set its value to 'skip' without marking it secret:
# - DANGER_GITHUB_API_TOKEN
#

# Automatically triggered on PR
# https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=schema%2Cparameter-schema#pr-trigger
Expand Down Expand Up @@ -47,22 +41,6 @@ stages:
yarn lint
displayName: 'Lint'
- job: danger
condition:
and(
succeeded(),
ne(variables['DANGER_GITHUB_API_TOKEN'], 'skip')
)
steps:
- template: templates/node-job-setup/template.yaml@pagopaCommons

- bash: |
yarn danger ci
env:
DANGER_GITHUB_API_TOKEN: '$(DANGER_GITHUB_API_TOKEN)'
displayName: 'Danger CI'
# B) Run unit tests if there is a push or pull request on any branch.
- stage: Test
dependsOn: []
Expand Down

0 comments on commit 56f70ca

Please sign in to comment.