update-node #3
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
name: Repo Dispatched Update Plenum Dependecy | |
on: | |
repository_dispatch: | |
types: [update-node] | |
jobs: | |
update-setup: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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@v6 | |
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==${{ github.event.client_payload.pyVersion }}" | |
title: "Automated Update to indy-plenum==${{ github.event.client_payload.pyVersion }}" | |
body: "This PR updates the indy-plenum version in `setup.py` to use `indy-plenum==${{ github.event.client_payload.pyVersion }}`." | |
branch: "PlenumUpdates" | |
delete-branch: true | |
base: "DependencyUpdateTrigger" |