1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly 1`] = `
30 yamlFileName=".github/workflows/build.yml"
31 yamlTemplate="name: Build
38 types: [opened, synchronize, reopened]
43 runs-on: ubuntu-latest
45 - uses: actions/checkout@v2
47 fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
48 - uses: sonarsource/sonarqube-scan-action@master
50 SONAR_TOKEN: \${{ secrets.SONAR_TOKEN }}
51 SONAR_HOST_URL: \${{ secrets.SONAR_HOST_URL }}
52 # If you wish to fail your job when the Quality Gate is red, uncomment the
53 # following lines. This would typically be used to fail a deployment.
54 # We do not recommend to use this in a pull request. Prefer using pull request
56 # - uses: sonarsource/sonarqube-quality-gate-action@master
59 # SONAR_TOKEN: \${{ secrets.SONAR_TOKEN }}"
62 onClick={[MockFunction]}
67 exports[`should render correctly: without branch enabled 1`] = `
94 yamlFileName=".github/workflows/build.yml"
95 yamlTemplate="name: Build
106 runs-on: ubuntu-latest
108 - uses: actions/checkout@v2
110 fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
111 - uses: sonarsource/sonarqube-scan-action@master
113 SONAR_TOKEN: \${{ secrets.SONAR_TOKEN }}
114 SONAR_HOST_URL: \${{ secrets.SONAR_HOST_URL }}
115 # If you wish to fail your job when the Quality Gate is red, uncomment the
116 # following lines. This would typically be used to fail a deployment.
117 # - uses: sonarsource/sonarqube-quality-gate-action@master
120 # SONAR_TOKEN: \${{ secrets.SONAR_TOKEN }}"
123 onClick={[MockFunction]}