Skip to content

[StepSecurity] Apply security best practices #198

[StepSecurity] Apply security best practices

[StepSecurity] Apply security best practices #198

Workflow file for this run

name: Post-Check Actions
on: [pull_request]
permissions:
contents: write
jobs:
dependabot-merge:
runs-on: cx-public-ubuntu-x64
if: contains(github.head_ref, 'feature/update_cli')
steps:
- name: Enable auto-merge for Dependabot PRs
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.PERSONAL_ACCESS_TOKEN }}
run: gh pr merge --auto --squash "$PR_URL"
- name: Auto approve dependabot PRs
uses: step-security/auto-approve-action@0c28339628c8e79ab2f6813291e7e6cd584b4d30 # v4.0.0
with:
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}