Skip to content

Commit

Permalink
Merge branch 'main' into doc/wrong-location-examples
Browse files Browse the repository at this point in the history
  • Loading branch information
clatapie committed Dec 22, 2023
2 parents 8a1ec30 + d5c4edc commit 6331df5
Show file tree
Hide file tree
Showing 92 changed files with 7,868 additions and 7,769 deletions.
2 changes: 1 addition & 1 deletion .ci/requirements_test_xvfb.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pyvista>=0.27.2
pyvista>=0.38.1
1 change: 1 addition & 0 deletions .ci/start_mapdl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ docker run \
-p $PYMAPDL_DB_PORT:50055 \
--shm-size=1gb \
-e I_MPI_SHM_LMT=shm \
-e P_SCHEMA=/ansys_inc/ansys/ac4/schema \
--oom-kill-disable \
--memory=6656MB \
--memory-swap=16896MB \
Expand Down
1 change: 1 addition & 0 deletions .ci/start_mapdl_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ docker run \
-p $PYMAPDL_DB_PORT:50055 \
--shm-size=1gb \
-e I_MPI_SHM_LMT=shm \
-e P_SCHEMA=/ansys_inc/v222/ansys/ac4/schema \
-w /jobs \
-u=0:0 \
--oom-kill-disable \
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ body:
description: Run `python --version` to verify your Python version
multiple: false
options:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
validations:
required: false

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ body:
description: Run `python --version` to verify your Python version
multiple: false
options:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
validations:
required: true

Expand Down
23 changes: 11 additions & 12 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
Documentation:
- doc/source/**/*
- examples/**/*
- changed-files:
- any-glob-to-any-file: ['doc/source/**/*', 'examples/**/*']

Maintenance:
- .github/**/*
- codecov.yml
- .flake8
- .coveragerc
- ignore_words.txt
- pyproject.toml
- changed-files:
- any-glob-to-any-file: ['.github/**/*', 'codecov.yml', '.flake8', '.coveragerc', 'ignore_words.txt', 'pyproject.toml']

Dependencies:
- pyproject.toml
- changed-files:
- any-glob-to-any-file: ['pyproject.toml']

CI/CD:
- docker/**/*
- .github/**/*
- .ci/**/*
- changed-files:
- any-glob-to-any-file: ['docker/**/*', '.github/**/*', '.ci/**/*']
11 changes: 4 additions & 7 deletions .github/workflows/approver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,19 @@ on:
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 }}
if: github.event.issue.pull_request &&
contains(github.event.comment.body, '@pyansys-ci-bot LGTM') && (
github.event.comment.user.login == 'germa89'
)
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 }}
Expand Down
Loading

0 comments on commit 6331df5

Please sign in to comment.