-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
- Loading branch information
1 parent
575cf99
commit 07a8b1c
Showing
6 changed files
with
72 additions
and
344 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
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
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
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 |
---|---|---|
@@ -1,25 +1,29 @@ | ||
--- | ||
name: Pull Request on update/* Branch Push | ||
name: Release | ||
on: | ||
push: | ||
branches: | ||
- update/** | ||
workflow_run: | ||
types: | ||
- completed | ||
workflows: | ||
- 'ci' | ||
jobs: | ||
auto-pull-request: | ||
name: Pull Request on update/* Branch Push | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Construct PR message | ||
run: | | ||
PULL_REQUEST_BODY=$(git log --pretty='format:%B' -1 | sed '/^$/d;$d' | sed 's/#/# /g') | ||
echo "$PULL_REQUEST_BODY" | ||
echo "PULL_REQUEST_BODY<<EOF" >> $GITHUB_ENV | ||
echo "$PULL_REQUEST_BODY" >> $GITHUB_ENV | ||
echo "EOF" >> $GITHUB_ENV | ||
- name: pull-request-action | ||
uses: vsoch/pull-request-action@1.0.12 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.NSM_BOT_GITHUB_TOKEN }} | ||
BRANCH_PREFIX: "update/" | ||
PULL_REQUEST_BRANCH: "main" | ||
release: | ||
if: ${{ github.event.workflow_run.conclusion == 'success' && contains(github.event.workflow_run.head_branch, 'release/') }} | ||
uses: networkservicemesh/.github/.github/workflows/release.yaml@main | ||
with: | ||
dependent_repositories: | | ||
["sdk-k8s", | ||
"sdk-kernel", | ||
"cmd-nsmgr", | ||
"cmd-nsmgr-proxy", | ||
"cmd-registry-memory", | ||
"cmd-registry-proxy-dns", | ||
"cmd-nse-remote-vlan", | ||
"cmd-nse-vfio", | ||
"cmd-nsc-init", | ||
"cmd-ipam-vl3", | ||
"cmd-map-ip-k8s", | ||
"cmd-admission-webhook-k8s"] | ||
secrets: | ||
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }} |
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
Oops, something went wrong.