-
Notifications
You must be signed in to change notification settings - Fork 80
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 #352 from pSchlarb/RepoDispatches
Repo dispatches
- Loading branch information
Showing
4 changed files
with
58 additions
and
4 deletions.
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
28 changes: 28 additions & 0 deletions
28
.github/workflows/repoDispatchable_updateNodeDependency.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 Node Dependecy | ||
|
||
on: | ||
repository_dispatch: | ||
types: [update-sovrin] | ||
|
||
jobs: | ||
update-setup: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Update indy-node to ${{ github.event.client_payload.pyVersion }} | ||
run: | | ||
sed -i "s/\(indy-node==\)[^ ]*/\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.client_payload.email }}> | ||
signoff: true | ||
committer: ${{ github.actor }} <${{ github.event.client_payload.email }}> | ||
commit-message: "Automated Update to indy-node==${{ github.event.client_payload.pyVersion }}" | ||
title: "Automated Update to indy-node==${{ github.event.client_payload.pyVersion }}" | ||
body: "This PR updates the indy-node version in `setup.py` to use `indy-node==${{ github.event.client_payload.pyVersion }}`." | ||
branch: "NodeUpdates" | ||
delete-branch: true | ||
base: "master" |
28 changes: 28 additions & 0 deletions
28
.github/workflows/repoDispatchable_updateTokenPluginDependency.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 Node Dependecy | ||
|
||
on: | ||
repository_dispatch: | ||
types: [update-sovrin-token] | ||
|
||
jobs: | ||
update-setup: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Update indy-node to ${{ github.event.client_payload.pyVersion }} | ||
run: | | ||
sed -i "s/\(sovtoken==\)[^ ]*/\1${{ github.event.client_payload.pyVersion }}',/g" setup.py | ||
sed -i "s/\(sovtokenfees==\)[^ ]*/\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.client_payload.email }}> | ||
signoff: true | ||
committer: ${{ github.actor }} <${{ github.event.client_payload.email }}> | ||
commit-message: "Automated Update to indy-node==${{ github.event.client_payload.pyVersion }}" | ||
title: "Automated Update to indy-node==${{ github.event.client_payload.pyVersion }}" | ||
body: "This PR updates the indy-node version in `setup.py` to use `indy-node==${{ github.event.client_payload.pyVersion }}`." | ||
branch: "Token-Pluging-Updates" | ||
delete-branch: true | ||
base: "master" |
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