Skip to content

Commit

Permalink
convert variable to secret
Browse files Browse the repository at this point in the history
  • Loading branch information
monikadargiewicz committed Oct 14, 2024
1 parent 91d08e4 commit 5377a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ jobs:
pr_branch_coverage=$(echo $coverage_line | awk '{print $5}')
branch_percentage=$(printf "%.2f%%" $( echo "($branch_coverage - $pr_branch_coverage) / $branch_coverage * 100" | bc -l))
echo "Branch coverage: $branch_percentage"
curl -X POST -H 'Content-type: application/json' --data "{\"appName\":\"pyPredictorMapClient\", \"linePercentage\":\"$line_percentage\", \"branchPercentage\":\"$branch_percentage\", \"methodPercentage\":\"unavailable\"}" ${{ env.SLACK_COVERAGE_REPORTER_WORKFLOW_URL }}
curl -X POST -H 'Content-type: application/json' --data "{\"appName\":\"pyPredictorMapClient\", \"linePercentage\":\"$line_percentage\", \"branchPercentage\":\"$branch_percentage\", \"methodPercentage\":\"unavailable\"}" ${{ secrets.SLACK_COVERAGE_REPORTER_WORKFLOW_URL }}

0 comments on commit 5377a37

Please sign in to comment.