-
Notifications
You must be signed in to change notification settings - Fork 659
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1812 from pSchlarb/SovrinUpdates
Repo Dispatches and dispatchable WF-Runs
- Loading branch information
Showing
3 changed files
with
59 additions
and
83 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
28 changes: 28 additions & 0 deletions
28
.github/workflows/repoDispatchable_UpdatePlenumDependency.yaml
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Repo Dispatched Update Plenum Dependecy | ||
|
||
on: | ||
repository_dispatch: | ||
types: [update-node] | ||
|
||
jobs: | ||
update-setup: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Update indy-plenum to ${{ github.event.client_payload.pyVersion }} | ||
run: | | ||
sed -i "s/\(indy-plenum==\)[^ ]*/\1${{ github.event.client_payload.pyVersion }},/g" setup.py | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
author: ${{ github.actor }} <${{ github.event.pusher.email }}> | ||
signoff: true | ||
committer: ${{ github.actor }} <${{ github.event.pusher.email }}> | ||
commit-message: "Automated Update to indy-plenum==$pyVersion" | ||
title: "Automated Update to indy-plenum==$pyVersion" | ||
body: "This PR updates the indy-plenum version in `setup.py` to use `indy-plenum==$pyVersion`." | ||
branch: "PlenumUpdates" | ||
delete-branch: true | ||
base: "DependencyUpdateTrigger" |