Manually Update Chain Registry #13
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
on: [workflow_dispatch] | |
name: Update Chain Registry | |
jobs: | |
update_chain_registry: | |
name: Update Chain Registry | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
submodules: true | |
- name: Git Sumbodule Update | |
run: | | |
git submodule update --init --recursive | |
git submodule update --recursive --remote | |
- name: Add Commit Push | |
uses: devops-infra/action-commit-push@master | |
with: | |
github_token: "${{ secrets.GITHUB_TOKEN }}" | |
add_timestamp: false | |
commit_prefix: "[AUTO]" | |
commit_message: "Chain Registry Submodule Update" | |
force: false | |
target_branch: update/chain_reg | |
- name: Create A PR | |
uses: devops-infra/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
source_branch: update/chain_reg | |
target_branch: main | |
title: chain_reg Update | |
body: "**Automated pull request**" | |
old_string: "**THIS IS AN AUTOMATED UPDATE OF CHAIN REGISTRY SUBMODULE**" | |
new_string: "** Automatic pull request**" | |
get_diff: true | |
ignore_users: "dependabot" |