From 0f9564028b4201b7b954469769c00e37757a9c0d Mon Sep 17 00:00:00 2001 From: German Date: Tue, 19 Dec 2023 10:48:40 +0100 Subject: [PATCH] Adding permissions for writing issues. Formatting --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ffc56981ef..189deb1be9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,6 +55,7 @@ permissions: contents: write packages: read pull-requests: write + issues: write jobs: @@ -264,6 +265,7 @@ jobs: if: always() run: cat log.txt + build-test: name: "Remote: Build & test" runs-on: ubuntu-latest @@ -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 @@ -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 @@ -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" @@ -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') @@ -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 @@ -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') @@ -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 @@ -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]