From 3a215cb3d5df5570030dfd39292c7e3ac8e9a1a6 Mon Sep 17 00:00:00 2001 From: reda Date: Fri, 15 Dec 2023 13:22:12 -0500 Subject: [PATCH] issue #4: add username and email --- .github/workflows/workflow-lint-test-python.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/workflow-lint-test-python.yml b/.github/workflows/workflow-lint-test-python.yml index 33f8f988..2a635e85 100644 --- a/.github/workflows/workflow-lint-test-python.yml +++ b/.github/workflows/workflow-lint-test-python.yml @@ -7,6 +7,8 @@ on: required: true type: number +permissions: + contents: write jobs: lint-test: @@ -86,6 +88,8 @@ jobs: - name: Push new file run: | + git config --local user.email "actions@github.com" + git config --local user.name "GitHub Actions" git checkout -b ${{ env.GIT_BRANCH_NAME }} git add .github/workflows/gcp-deployment.yml git commit -m "Update threshold"