diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 000000000..aa978cc42 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,21 @@ +--- +name: Release +on: + workflow_run: + types: + - completed + workflows: + - "ci" +jobs: + print-debug-info: + name: Print debug info for Release workflow + runs-on: ubuntu-latest + steps: + - uses: hmarr/debug-action@v2 + + create-release: + name: Create release + if: ${{ github.event.workflow_run.conclusion == 'success' && contains(github.event.workflow_run.head_branch, 'release/') }} + uses: networkservicemesh/.github/.github/workflows/release.yaml@main + secrets: + token: ${{ secrets.GITHUB_TOKEN }}