File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 54
54
echo "coverage=${COVERAGE_PERCENT}" >> $GITHUB_ENV
55
55
56
56
- name : Create mypy warning badge
57
- if : ${{ steps.branch_name.outputs.branch_name == 'main' }}
57
+ if : ${{ github.ref_name == 'main' }}
58
58
uses : schneegans/dynamic-badges-action@v1.7.0
59
59
with :
60
60
auth : ${{ secrets.GIST_SECRET }}
68
68
invertColorRange : true
69
69
70
70
- name : Create pylint badge
71
- if : ${{ steps.branch_name.outputs.branch_name == 'main' }}
71
+ if : ${{ github.ref_name == 'main' }}
72
72
uses : schneegans/dynamic-badges-action@v1.7.0
73
73
with :
74
74
auth : ${{ secrets.GIST_SECRET }}
81
81
maxColorRange : 9
82
82
83
83
- name : Create coverage badge
84
- if : ${{ steps.branch_name.outputs.branch_name == 'main' }}
84
+ if : ${{ github.ref_name == 'main' }}
85
85
uses : schneegans/dynamic-badges-action@v1.7.0
86
86
with :
87
87
auth : ${{ secrets.GIST_SECRET }}
You can’t perform that action at this time.
0 commit comments