File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 26
26
27
27
jobs :
28
28
terraform :
29
- name : " Terraform Infrastructure Change Management "
29
+ name : " Terraform CICD "
30
30
runs-on : ubuntu-latest
31
31
permissions :
32
32
pull-requests : write # Required for creating or updating PRs
72
72
id : init-push
73
73
if : github.event_name == 'push'
74
74
run : |
75
- if [ "${{ github.ref }}" == "develop" ]; then
75
+ if [ "${{ github.ref }}" == "refs/heads/ develop" ]; then
76
76
export ENV="dev";
77
- elif [ "${{ github.ref }}" == "main" ]; then
77
+ elif [ "${{ github.ref }}" == "refs/heads/ main" ]; then
78
78
export ENV="prod";
79
79
else
80
80
echo "unsupported environment";
Original file line number Diff line number Diff line change
1
+ # TODO
2
+ - use Workload Identity Federation in CICD
3
+ - consider breaking up pull request and push workflows
4
+ - document branching strategy
You can’t perform that action at this time.
0 commit comments