File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 11name : GitLeaks
22on : [pull_request]
33
4+ permissions :
5+ contents : read
6+
47concurrency :
58 group : gitleaks-${{ github.ref }}
69 cancel-in-progress : true
1518 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1619 GITLEAKS_CONFIG : config.toml
1720 steps :
18-
1921 - name : run-bulwark-gitleaks-scan
2022 shell : sh
2123 env :
3335 exit 1
3436 else
3537 echo "GitLeaks validation check passed"
36- fi
38+ fi
Original file line number Diff line number Diff line change @@ -2,11 +2,17 @@ name: Release to Production
22
33on :
44 push :
5- branches : [main]
5+ branches :
6+ - main
67
78env :
89 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
910
11+ permissions :
12+ contents : write # Required for semantic-release to create releases and tags
13+ packages : write # Required for pushing Docker images to GHCR
14+ id-token : write # Required for cosign signing
15+
1016jobs :
1117 docker :
1218 name : " Release Docker image"
Original file line number Diff line number Diff line change 99env :
1010 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1111
12+ permissions :
13+ contents : read
14+ packages : write # Required for pushing Docker images to GCR
15+
1216concurrency :
1317 group : ci-${{ github.ref }}
1418 cancel-in-progress : true
You can’t perform that action at this time.
0 commit comments