-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into bug/config
- Loading branch information
Showing
1 changed file
with
22 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,12 @@ on: | |
# Can be called manually or remotely | ||
workflow_dispatch: | ||
inputs: | ||
distinct_id: | ||
description: "ID to give the job when run via dpf-standalone repo" | ||
required: false | ||
type: string | ||
default: "" | ||
|
||
ANSYS_VERSION: | ||
description: "ANSYS version" | ||
required: false | ||
|
@@ -27,6 +33,9 @@ jobs: | |
runs-on: windows-latest | ||
|
||
steps: | ||
- name: echo distinct ID ${{ github.event.inputs.distinct_id }} | ||
run: echo ${{ github.event.inputs.distinct_id }} | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Python | ||
|
@@ -112,6 +121,12 @@ jobs: | |
run: | | ||
git status | ||
# - uses: tibdex/github-app-token@v2 # To use once GH App is set at ansys org level | ||
# id: generate-token | ||
# with: | ||
# app_id: ${{ secrets.CI_APP_ID }} | ||
# private_key: ${{ secrets.CI_APP_TOKEN }} | ||
|
||
- name: "Create Pull Request" | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
|
@@ -126,7 +141,13 @@ jobs: | |
title: Update generated code for DPF ${{ github.event.inputs.ANSYS_VERSION || '242' }}${{ github.event.inputs.standalone_branch_suffix || '' }} on ${{ github.ref_name }} | ||
body: An update of generated code has been triggered either manually or by an update in the dpf-standalone repository. | ||
branch: maint/update_code_for_${{ github.event.inputs.ANSYS_VERSION || '242' }}${{ github.event.inputs.standalone_branch_suffix || '' }}_on_${{ github.ref_name }} | ||
labels: maintenance | ||
labels: server-sync | ||
# token: ${{ steps.generate-token.outputs.token }} | ||
token: ${{ secrets.CI_PAT }} | ||
committer: PProfizi <[email protected]> | ||
author: PProfizi <[email protected]> | ||
reviewers: ansys/dpf_integration_proxies | ||
assignees: ansys/dpf_integration_proxies | ||
|
||
- name: "Kill all servers" | ||
uses: ansys/pydpf-actions/[email protected] | ||
|