Skip to content

security: harden all workflow files #432

security: harden all workflow files

security: harden all workflow files #432

Workflow file for this run

name: Post-Check Actions
on: [pull_request]
permissions:
contents: read
jobs:
dependabot-merge:
permissions:
contents: write
pull-requests: write
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.GITHUB_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.GITHUB_TOKEN }}