File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 11# CI/CD Release Workflow
22name : pipeline
33
4+ # ensure permissions are explicitly defined
5+ # by configuring one we disable the remaining permissions
6+ # see: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idpermissions
7+ # permissions:
8+ # contents: read
9+
410on :
5- pull_request :
6- tags-ignore :
7- - ' *'
811 push :
912 branches :
1013 - ' master'
7376
7477
7578 release :
76- if : startsWith(github.ref, 'refs/tags/')
77-
78- # if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' }}
79-
79+ # if: startsWith(github.ref, 'refs/tags/')
80+ if : ${{ github.event_name == 'create' && github.event.ref_type == 'tag' }}
8081 runs-on : ubuntu-latest
8182 steps :
8283 - name : Checkout
You can’t perform that action at this time.
0 commit comments