Skip to content

chore(deps): bump crowdin/github-action from 1.20.4 to 2.5.2 #239

chore(deps): bump crowdin/github-action from 1.20.4 to 2.5.2

chore(deps): bump crowdin/github-action from 1.20.4 to 2.5.2 #239

Workflow file for this run

name: Approve PR (dependabot)
on:
pull_request_target:
branches: [next]
permissions:
pull-requests: write
issues: write
contents: write
jobs:
approve-pr:
name: Approve PR
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Fetch metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve PR if non-major update
if: steps.metadata.outputs.update-type != 'version-update:semver-major'
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.PUSH_TO_PROTECTED_BRANCH }}