Skip to content

Commit

Permalink
Sync files with networkservicemesh/cmd-template
Browse files Browse the repository at this point in the history
This PR syncs files with https://github.com/networkservicemesh/cmd-template

Revision: https://github.com/networkservicemesh/cmd-template/commits/e8ed376ecfda3a4aad2f7ffab6098abba0515c8e

commit e8ed376ecfda3a4aad2f7ffab6098abba0515c8e
Author: Nikita Skrynnik <93182827+NikitaSkrynnik@users.noreply.github.com>
Date:   Mon Jul 25 21:22:30 2022 +1100

    Add reusable workflows (#105)

    * reuse already existing workflows from .github

    Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

    * replace docker-push workflows

    Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

    * rework release workflow

    Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

    * rework update-deployments and ci workflows

    Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

    * finish reworking workflows

    Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

    * minor fixes

    Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

    * specify config_file path for yamllint job in CI workflow

    Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

    * fix automerge

    Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

    * fix yamllint issues

    Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

    * fix docker-build-and-test job in CI workflow

    Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

    * add print-debug-info job to automerge workflow

    Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
  • Loading branch information
NSMBot committed Jul 25, 2022
1 parent 9610e21 commit b9166b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/automerge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
workflows:
- "ci"
jobs:
print-debug-info:
name: Print debug info
runs-on: ubuntu-latest
steps:
- uses: hmarr/debug-action@v2

check-mergeability:
if: ${{ github.event.workflow_run.conclusion == 'success' && github.actor == 'nsmbot' }}
uses: networkservicemesh/.github/.github/workflows/check-mergeability.yaml@main
Expand All @@ -15,6 +21,7 @@ jobs:

automerge:
needs: [check-mergeability]
if: ${{ needs.check-mergeability.result == 'success' }}
uses: networkservicemesh/.github/.github/workflows/automerge.yaml@main

resolve_conflicts:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
if: github.repository != 'networkservicemesh/cmd-template'
uses: networkservicemesh/.github/.github/workflows/docker-build-and-test.yaml@main
secrets:
token: ${{ github.token }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b9166b1

Please sign in to comment.