Skip to content

Commit

Permalink
Adding permissions for writing issues. Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Dec 19, 2023
1 parent d30c764 commit 0f95640
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ permissions:
contents: write
packages: read
pull-requests: write
issues: write

jobs:

Expand Down Expand Up @@ -264,6 +265,7 @@ jobs:
if: always()
run: cat log.txt


build-test:
name: "Remote: Build & test"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -459,6 +461,7 @@ jobs:
if compgen -G './logs-${{ matrix.mapdl-version }}/*.log' > /dev/null ;then for f in ./logs-${{ matrix.mapdl-version }}/*.log; do echo "::group:: Log file $f" && cat $f && echo "::endgroup::" ; done; fi || echo "Failed to display the 'err' files."
if compgen -G './logs-${{ matrix.mapdl-version }}/*.out' > /dev/null ;then for f in ./logs-${{ matrix.mapdl-version }}/*.out; do echo "::group:: Output file $f" && cat $f && echo "::endgroup::" ; done; fi || echo "Failed to display the 'log' files."
build-test-ubuntu:
name: "Local: Build & test on Ubuntu"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -590,6 +593,7 @@ jobs:
name: minimum_requirements.txt
path: ./minimum_requirements.txt


build-test-ubuntu-minimal:
name: "Local: Build & test minimal package on Ubuntu"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -661,6 +665,7 @@ jobs:
name: ubuntu-v22.2.0-local-minimal.xml
path: ./ubuntu-v22.2.0-local-minimal.xml


test-windows:
if: github.repository == ''
name: "Local: Build & test on Windows"
Expand Down Expand Up @@ -778,6 +783,7 @@ jobs:
title: `Release FAILED!`,
}"


upload-docs-release:
name: "Upload release documentation"
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
Expand All @@ -792,6 +798,7 @@ jobs:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
render-last: '5'


doc-index-stable:
name: "Deploy stable docs index"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -820,6 +827,7 @@ jobs:
host-url: ${{ vars.MEILISEARCH_HOST_URL }}
api-key: ${{ env.MEILISEARCH_API_KEY }}


upload-dev-docs:
name: Upload dev documentation
if: github.ref == 'refs/heads/main' && !contains(github.ref, 'refs/tags')
Expand All @@ -832,6 +840,7 @@ jobs:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}


doc-index-dev:
name: "Deploy dev index docs"
runs-on: ubuntu-latest
Expand All @@ -844,7 +853,8 @@ jobs:
index-name: pymapdl-vdev
host-url: ${{ vars.MEILISEARCH_HOST_URL }}
api-key: ${{ env.MEILISEARCH_API_KEY }}



notify:
name: Notify failed build
needs: [upload-dev-docs]
Expand Down

0 comments on commit 0f95640

Please sign in to comment.