From a0a9d5bb54056aea4238f68d56ae571878723da6 Mon Sep 17 00:00:00 2001 From: Enric Tobella Date: Sun, 19 Nov 2023 18:37:03 +0100 Subject: [PATCH] [IMP] Improve update workflow --- .github/workflows/update_repos.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/update_repos.yml b/.github/workflows/update_repos.yml index 148904d..dc8d3b5 100644 --- a/.github/workflows/update_repos.yml +++ b/.github/workflows/update_repos.yml @@ -7,6 +7,10 @@ on: jobs: test: runs-on: ubuntu-latest + permissions: + # Give the default GITHUB_TOKEN write permission to commit and push the + # added or changed files to the repository. + contents: write strategy: fail-fast: false steps: @@ -19,3 +23,11 @@ jobs: - name: Manage repositories run: oca-repo-manage --org $GITHUB_REPOSITORY_OWNER --token ${{secrets.GIT_PUSH_TOKEN}} --conf-dir ./conf + - uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: Update checksum + file_pattern: "conf/checksum.yml" + commit_user_name: OCA-git-bot + commit_user_email: oca-git-bot@odoo-community.org + commit_author: OCA-git-bot +