File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ concurrency:
1212 group : ' ${{github.workflow}}-${{ github.head_ref || github.ref }}'
1313 cancel-in-progress : true
1414
15+ permissions :
16+ contents : read
17+
1518jobs :
1619 unit :
1720 name : ${{ matrix.operating-system }} unit tests
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ concurrency:
1212 group : ' ${{github.workflow}}-${{ github.head_ref || github.ref }}'
1313 cancel-in-progress : true
1414
15+ permissions :
16+ contents : read
17+
1518jobs :
1619 unit :
1720 name : ${{ matrix.operating-system }} unit tests
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ concurrency:
1818 group : ' ${{github.workflow}}-${{ github.head_ref || github.ref }}'
1919 cancel-in-progress : true
2020
21+ permissions :
22+ contents : read
23+
2124jobs :
2225 unit :
2326 name : ${{ matrix.operating-system }} unit tests
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ concurrency:
2626 group : ' ${{ github.workflow }}-${{ github.head_ref || github.ref }}'
2727 cancel-in-progress : true
2828
29+ permissions :
30+ contents : read
31+
2932jobs :
3033 lint :
3134 name : ' lint-infra-terraform'
Original file line number Diff line number Diff line change 55 push :
66 branches : [main]
77
8+ permissions :
9+ contents : read
10+
811jobs :
912 pre-commit :
1013 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ concurrency:
1111 group : ' ${{ github.workflow }}-${{ github.head_ref || github.ref }}'
1212 cancel-in-progress : true
1313
14+ permissions :
15+ contents : read
16+
1417jobs :
1518 build-dev-tools :
1619 name : Build CFT dev tools image
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ concurrency:
1818 group : ' ${{github.workflow}}-${{ github.head_ref || github.ref }}'
1919 cancel-in-progress : true
2020
21+ permissions :
22+ contents : read
23+
2124jobs :
2225 unit :
2326 name : ${{ matrix.operating-system }} unit tests
Original file line number Diff line number Diff line change 2424 TFLINT_URL : " https://api.github.com/repos/terraform-linters/tflint/releases/latest"
2525 GOLANGCI_URL : " https://api.github.com/repos/golangci/golangci-lint/releases/latest"
2626
27+ permissions :
28+ contents : write # peter-evans/create-pull-request pushes a branch
29+ pull-requests : write # peter-evans/create-pull-request opens the PR
30+
2731jobs :
2832 update-tools :
2933 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments