Skip to content

Commit

Permalink
chore(actions): auto approve
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby committed Aug 13, 2024
1 parent 82c6e76 commit e526c84
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/docs-localization-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
runs-on: ubuntu-latest
outputs:
pr_ref: pull/${{ steps.crowdin.outputs.pull_request_number }}/head
pr_url: ${{ steps.crowdin.outputs.pull_request_url }}
pr_id: ${{ steps.crowdin.outputs.pull_request_number }}
steps:
- uses: actions/checkout@v4
- name: "Install Python"
Expand Down Expand Up @@ -96,4 +98,10 @@ jobs:
uses: benc-uk/[email protected]
with:
workflow: version-updates.yml
ref: ${{ needs.download.outputs.pr_ref }}
ref: ${{ needs.download.outputs.pr_ref }}
- run: gh pr review --approve ${{ needs.download.outputs.pr_id }} -b "auto-approval for localization sync :3"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: gh pr merge --auto --squash ${{ needs.download.outputs.pr_id }}
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit e526c84

Please sign in to comment.