Skip to content

Commit

Permalink
Update token used in .pot file update step
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jursimplicate committed Jun 13, 2024
1 parent cb129bc commit 2a926f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
POSTGRES_DB: odoo
ports:
- 5432:5432
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -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' }}

0 comments on commit 2a926f4

Please sign in to comment.