Adding rules as a chart #39
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The action is triggered and auto-approves a pull request | |
# ONLY when the pull request is from the user specified below | |
name: Auto-approve Controls Documentation PR | |
on: pull_request_target | |
jobs: | |
auto-approve: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write # Permissions required for the job | |
# Condition for auto-approving the pull request from a specific user | |
if: github.actor == 'kubescape' | |
steps: | |
- uses: hmarr/auto-approve-action@v3 |