Skip to content

Commit

Permalink
fix-publish-worflow (#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
nalchevanidze authored Apr 2, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent b4cc4b4 commit 4f8d195
Showing 2 changed files with 1 addition and 17 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/on-labels.yaml

This file was deleted.

4 changes: 1 addition & 3 deletions .github/workflows/publish-release.yaml
Original file line number Diff line number Diff line change
@@ -3,12 +3,10 @@ name: Publish Release
on:
pull_request:
types: [closed]
branches:
- "publish-release/**"

jobs:
publish-releases:
if: github.event.pull_request.merged == true
if: ${{ github.base_ref == 'master' && startsWith(github.head_ref, 'publish-release/') && github.event.pull_request.merged == true }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

0 comments on commit 4f8d195

Please sign in to comment.