File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# ref from pxt-arcade/.github/tag-bump-commit.yml
22
33name : Tag version on merged bump commit
4+ permissions :
5+ contents : read
46
57on :
68 workflow_call :
1719 needs : check-merge
1820 runs-on : ubuntu-latest
1921 if : always()
22+ permissions : {}
2023 steps :
2124 - name : check-merge outputs
2225 run : |
2730 needs : check-merge
2831 if : fromJSON(needs.check-merge.outputs.is_merged_pr || 'false') == true
2932 runs-on : ubuntu-latest
33+ permissions :
34+ contents : write
3035 outputs :
3136 did_tag : ${{ steps.tag-op.outputs.did_tag }}
3237 tag : ${{ steps.tag-op.outputs.tag }}
7782 needs : check-merge
7883 if : fromJSON(needs.check-merge.outputs.is_merged_pr || 'false') == false
7984 runs-on : ubuntu-latest
85+ permissions : {}
8086 outputs :
8187 did_tag : false
8288 steps :
8692 runs-on : ubuntu-latest
8793 needs : [tag-version, not-tag-version]
8894 if : always()
95+ permissions : {}
8996 outputs :
9097 did_tag : ${{ needs.tag-version.outputs.did_tag || false }}
9198 steps :
You can’t perform that action at this time.
0 commit comments