Skip to content

Commit

Permalink
Sign commits in Localazy PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Dec 13, 2024
1 parent 11b61fa commit 27d44c6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/translations-download.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
download:
runs-on: ubuntu-22.04
permissions:
contents: read
contents: write

steps:
- name: Checkout the code
Expand All @@ -25,15 +25,19 @@ jobs:
id: cpr
uses: peter-evans/create-pull-request@v7.0.5
with:
token: ${{ secrets.BOT_GITHUB_TOKEN }}
sign-commits: true
branch-token: ${{ secrets.BOT_GITHUB_TOKEN }}
branch: actions/localazy-download
delete-branch: true
title: Localazy Download
title: Translations updates
labels: |
T-Task
A-I18n
commit-message: Translations updates

- name: Enable automerge
run: gh pr merge --merge --auto "$PR_NUMBER"
if: steps.cpr.outputs.pull-request-operation == 'created'
env:
GH_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
PR_NUMBER: ${{ steps.cpr.outputs.pull-request-number }}
PR_NUMBER: ${{ steps.cpr.outputs.pull-request-number }}

0 comments on commit 27d44c6

Please sign in to comment.