Skip to content

Commit aaa2202

Browse files
comment out git workflow step
1 parent 3406dbe commit aaa2202

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

.github/workflows/release-IPA-metrics.yml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ jobs:
4343
working-directory: tools/spectral/ipa/metrics/scripts
4444
run: |
4545
node runMetricCollection.js "${{ github.workspace }}/v2.json"
46-
if [ -f "../outputs/warning-count.txt" ]; then
47-
warning_count=$(cat "../outputs/warning-count.txt")
48-
echo "warning_count=${warning_count}" >> "$GITHUB_OUTPUT"
49-
else
50-
echo "warning_count=0" >> "$GITHUB_OUTPUT"
51-
fi
5246
5347
- name: aws configure
5448
uses: aws-actions/configure-aws-credentials@v4
@@ -63,16 +57,16 @@ jobs:
6357
working-directory: tools/spectral/ipa/metrics/scripts
6458
run: node dataDump.js
6559

66-
- name: Handle Warning Violations
67-
if: ${{ steps.metric-collection.outputs.warning_count > 0 }}
68-
env:
69-
WARNING_COUNT: ${{ steps.metric-collection.outputs.warning_count }}
70-
TEAM_ID: ${{ vars.JIRA_TEAM_ID_APIX_PLATFORM }}
71-
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
72-
SLACK_BEARER_TOKEN: ${{ secrets.SLACK_BEARER_TOKEN }}
73-
SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID_APIX_PLATFORM_DEV }}
74-
SLACK_ONCALL_USER: ${{ secrets.SLACK_APIX_PLATFORM_ONCALL_USER }}
75-
run: .github/scripts/handle_warning_violations.sh
60+
# - name: Handle Warning Violations
61+
# if: ${{ steps.metric-collection.outputs.warning_count > 0 }}
62+
# env:
63+
# WARNING_COUNT: ${{ steps.metric-collection.outputs.warning_count }}
64+
# TEAM_ID: ${{ vars.JIRA_TEAM_ID_APIX_PLATFORM }}
65+
# JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
66+
# SLACK_BEARER_TOKEN: ${{ secrets.SLACK_BEARER_TOKEN }}
67+
# SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID_APIX_PLATFORM_DEV }}
68+
# SLACK_ONCALL_USER: ${{ secrets.SLACK_APIX_PLATFORM_ONCALL_USER }}
69+
# run: .github/scripts/handle_warning_violations.sh
7670

7771
failure-handler:
7872
name: Failure Handler

0 commit comments

Comments
 (0)