Skip to content

Update go.mod and go.sum to latest version from networkservicemesh/cm… #16938

Update go.mod and go.sum to latest version from networkservicemesh/cm…

Update go.mod and go.sum to latest version from networkservicemesh/cm… #16938

---
name: Pull Request on update/* Branch Push
on:
push:
branches:
- update/**
jobs:
auto-pull-request:
name: Pull Request on update/* Branch Push
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create a Pull Request
run: |
ref=${{ github.ref }}
branch=${ref#"refs/heads/"}
prTitle="Update from $branch"
prBody=$(git log --pretty='format:%B' -1 | sed '/^$/d;$d' | sed 's/#/# /g')
gh pr create -B "main" -H "$ref" --title "$prTitle" --body "$prBody"
env:
GITHUB_TOKEN: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}