Skip to content

Commit

Permalink
Switch from gmlc-tdc/create-pr-action to peter-evans/create-pull-requ…
Browse files Browse the repository at this point in the history
…est (#2506)
  • Loading branch information
nightlark authored Jan 20, 2023
1 parent 07f1a85 commit 9042367
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/swig-interface-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,14 @@ jobs:
with:
extra_args: clang-format --files src/helics/shared_api_library/backup/helics/helics.h src/helics/shared_api_library/backup/helics/helics_api.h

- name: Stage changed interface files
shell: bash --noprofile --norc {0}
run: git add interfaces/ src/helics/shared_api_library/backup/

- uses: gmlc-tdc/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
COMMIT_MSG: "Automated update to generated interface files"
PR_TITLE: "Automated update to generated interface files"
PR_BODY: "Automated update to generated interface files from commit https://github.com/${{ github.repository }}/commit/${{ github.sha }}."
GIT_NAME: "github-actions[bot]"
GIT_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
BRANCH_PREFIX: "interface-gen/"
DISABLE_STAGING: true
commit-message: Automated update to generated interface files
author: GitHub <[email protected]>
title: Automated update to generated interface files
body: Automated update to generated interface files from commit https://github.com/${{ github.repository }}/commit/${{ github.sha }}.
branch: interface-gen/update-${{ github.head_ref }}${{ github.ref_name }}
add-paths: |
interfaces/*
src/helics/shared_api_library/backup/*

0 comments on commit 9042367

Please sign in to comment.