Implementing save_selection
and small change in Components API
#4381
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
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 }} |