Update go.mod and go.sum to latest version from networkservicemesh/cm… #18157
Workflow file for this run
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: 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 }} |