Skip to content

feat(cli): add progress visibility control #4691

feat(cli): add progress visibility control

feat(cli): add progress visibility control #4691

name: Automatic Approve Workflow

Check warning on line 1 in .github/workflows/workflow-approval.yml

View workflow run for this annotation

GitHub Actions / Automatic Approve Workflow

Workflow execution policy warning (evaluate mode)

On December 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
on:
workflow_dispatch:
pull_request_target:
types: [opened, synchronize, reopened]
jobs:
automatic-approve:
name: Approve Workflows
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
id: app-token
with:
client-id: ${{ secrets.DEVSY_GITHUB_APP_ID }}
private-key: ${{ secrets.DEVSY_GITHUB_APP_PRIVATE_KEY }}
- uses: skevetter/automatic-approve-action@e9a649e3353c1d4a93197dbf78087c9f80f8f70a # v2.2.0
with:
token: ${{ steps.app-token.outputs.token }}
workflows: "commit.yml,pr-ci.yml"
pull-request-number: ${{ github.event.pull_request.number }}
head-sha: ${{ github.event.pull_request.head.sha }}