From 2a926f43160aba9256976676e587fc906a4f4a61 Mon Sep 17 00:00:00 2001 From: Jur de Vries Date: Thu, 13 Jun 2024 13:10:49 +0200 Subject: [PATCH] Update token used in .pot file update step The commit changes the token utilized in the .pot file update step in the GitHub workflows. Previously, the GIT_PUSH_TOKEN was used, but now it has been updated to use the GITHUB_TOKEN instead. This change is applied to the run command available within the 'Update .pot files' step. --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0addb6b..3683333 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,6 +49,8 @@ jobs: POSTGRES_DB: odoo ports: - 5432:5432 + permissions: + contents: write steps: - uses: actions/checkout@v4 with: @@ -74,5 +76,5 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} - name: Update .pot files - run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }} + run: oca_export_and_push_pot https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'Gedeelde-Weelde' }}