diff --git a/.github/workflows/format-code.yml b/.github/workflows/format-code.yml index a1054a15c98..3560bb696ea 100644 --- a/.github/workflows/format-code.yml +++ b/.github/workflows/format-code.yml @@ -7,8 +7,7 @@ on: - cron: 45 4 * * 1 permissions: - contents: write - pull-requests: write + contents: read concurrency: group: '${{ github.ref }}-${{ github.workflow }}' @@ -17,6 +16,9 @@ concurrency: jobs: build: name: MegaLinter + permissions: + contents: write + pull-requests: write runs-on: ubuntu-latest steps: - name: Checkout Code diff --git a/.github/workflows/reusable_terraform_strategy.yml b/.github/workflows/reusable_terraform_strategy.yml index 10138e1932b..e841eacaa63 100644 --- a/.github/workflows/reusable_terraform_strategy.yml +++ b/.github/workflows/reusable_terraform_strategy.yml @@ -48,3 +48,4 @@ jobs: echo "${matrix}" >> $GITHUB_OUTPUT echo 'EOF' >> $GITHUB_OUTPUT echo "${matrix}" + echo "test code scanning"