-
Notifications
You must be signed in to change notification settings - Fork 0
ci: Finish cicd #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
ci: Finish cicd #34
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
948fc3a
maint: Complete CICD
AlejandroFernandezLuces 883b4fc
maint: Add doc style action
AlejandroFernandezLuces 93adcce
fix: Doc style fixes
AlejandroFernandezLuces fe70d64
fix: PyMAPDL container name
AlejandroFernandezLuces f851095
fix: Ignore rst code blocks
AlejandroFernandezLuces 5e5587b
fix: Vale ini
AlejandroFernandezLuces 4abcd77
fix: Accept words
AlejandroFernandezLuces 87c27f8
Merge branch 'main' into maint/finish-cicd
AlejandroFernandezLuces 45bcf87
fix: Add changelog missing line, add private PyPI
AlejandroFernandezLuces f1c8947
Merge branch 'maint/finish-cicd' of https://github.com/ansys-internal…
AlejandroFernandezLuces ecccef0
fix: CICD file
AlejandroFernandezLuces 4ccfef8
fix: Missing changelog config
AlejandroFernandezLuces 142806b
chore: adding changelog file 34.maintenance.md [dependabot-skip]
pyansys-ci-bot b8c376c
fix: Temporary allow vulnerability logs
AlejandroFernandezLuces 4dc0080
Merge branch 'maint/finish-cicd' of https://github.com/ansys-internal…
AlejandroFernandezLuces 9085730
fix: Remove changelog
AlejandroFernandezLuces e6da613
fix: Upload reports
AlejandroFernandezLuces 6ddf974
fix: remove vulnerabilites publication
AlejandroFernandezLuces 9c098bd
fix: Vulnerability
AlejandroFernandezLuces f20eeca
fix: Tests
AlejandroFernandezLuces 043424a
fix: Comment out vuln action until release
AlejandroFernandezLuces 427881a
fix: Add TODOs for release
AlejandroFernandezLuces File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,115 @@ | ||
| name: Labeler | ||
| on: | ||
| pull_request: | ||
| # opened, reopened, and synchronize are default for pull_request | ||
| # edited - when PR title or body is changed | ||
| # labeled - when labels are added to PR | ||
| types: [opened, reopened, synchronize, edited, labeled] | ||
| push: | ||
| branches: [ main ] | ||
| paths: | ||
| - '../labels.yml' | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
|
|
||
| label-syncer: | ||
| name: Syncer | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
| steps: | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
| - uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0 | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| labeler: | ||
| name: Set labels | ||
| needs: [label-syncer] | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
|
|
||
| # Label based on modified files | ||
| - name: Label based on changed files | ||
| uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 | ||
| with: | ||
| repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
| sync-labels: true | ||
|
|
||
| # Label based on branch name | ||
| - uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.3 | ||
| if: | | ||
| startsWith(github.event.pull_request.head.ref, 'doc') || | ||
| startsWith(github.event.pull_request.head.ref, 'docs') | ||
| with: | ||
| labels: documentation | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| - uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.3 | ||
| if: | | ||
| startsWith(github.event.pull_request.head.ref, 'maint') || | ||
| startsWith(github.event.pull_request.head.ref, 'no-ci') || | ||
| startsWith(github.event.pull_request.head.ref, 'ci') | ||
| with: | ||
| labels: maintenance | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| - uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.3 | ||
| if: startsWith(github.event.pull_request.head.ref, 'feat') | ||
| with: | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| labels: | | ||
| enhancement | ||
|
|
||
| - uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.3 | ||
| if: | | ||
| startsWith(github.event.pull_request.head.ref, 'fix') || | ||
| startsWith(github.event.pull_request.head.ref, 'patch') | ||
| with: | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| labels: bug | ||
|
|
||
| commenter: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| steps: | ||
| - name: Suggest to add labels | ||
| uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0 | ||
| # Execute only when no labels have been applied to the pull request | ||
| if: toJSON(github.event.pull_request.labels.*.name) == '{}' | ||
| with: | ||
| issue-number: ${{ github.event.pull_request.number }} | ||
| body: | | ||
| Please add one of the following labels to add this contribution to the Release Notes :point_down: | ||
| - [bug](https://github.com/ansys-internal/ansys-tools-common/pulls?q=label%3Abug+) | ||
| - [documentation](https://github.com/ansys-internal/ansys-tools-common/pulls?q=label%3Adocumentation+) | ||
| - [enhancement](https://github.com/ansys-internal/ansys-tools-common/pulls?q=label%3Aenhancement+) | ||
| - [good first issue](https://github.com/ansys-internal/ansys-tools-common/pulls?q=label%3Agood+first+issue) | ||
| - [maintenance](https://github.com/ansys-internal/ansys-tools-common/pulls?q=label%3Amaintenance+) | ||
| - [release](https://github.com/ansys-internal/ansys-tools-common/pulls?q=label%3Arelease+) | ||
|
|
||
| changelog-fragment: | ||
| name: "Create changelog fragment" | ||
| needs: [labeler] | ||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: ansys/actions/doc-changelog@v10 | ||
| with: | ||
| token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }} | ||
| use-conventional-commits: true | ||
| use-default-towncrier-config: true | ||
| bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }} | ||
| bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }} |
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| This document contains the release notes for the project. See release notes for v{latest-version} and earlier | ||
| in `CHANGELOG.md <https://github.com/ansys-internal/ansys-tools-common/blob/main/CHANGELOG.md>`_. | ||
| <!-- towncrier release notes start --> |
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Finish cicd |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,14 @@ | ||
| (?i)Ansys | ||
| pytest | ||
| ANS | ||
| astroid | ||
| astroid | ||
| downloader | ||
| mypy | ||
| pytest | ||
| pathing | ||
| subprocess | ||
|
|
||
|
|
||
| s.P | ||
| e.M | ||
| terminate | ||
| kill |
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.