Skip to content

Supporting launching MAPDL from WSL #3274

Supporting launching MAPDL from WSL

Supporting launching MAPDL from WSL #3274

Workflow file for this run

name: Approve PRs
on:
workflow_dispatch:
issue_comment:
types: [created, edited]
env:
# sintax: ("germa89" "author2")
ALLOWED_AUTHORS: ("germa89")
jobs:
autoapprove:
# This job only runs for pull request comments
name: PR comment
if: ${{ github.event.issue.pull_request }}
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v3
if: |
contains(github.event.comment.body, 'LGTM') && contains(env.ALLOWED_AUTHORS, github.event.comment.user.login)
with:
review-message: ":white_check_mark: Approving this PR because [${{ github.event.comment.user.login }}](https://github.com/${{ github.event.comment.user.login }}) said so in [here](${{ github.event.comment.html_url }}) :grimacing:"
pull-request-number: ${{ github.event.issue.number }}
github-token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}