Skip to content

Commit

Permalink
Merge pull request #127 from visier/bugfix/VAN-127983-publish-release…
Browse files Browse the repository at this point in the history
…-fix

[VAN-127983] Fix for publishing OpenaAPI release specifications.
  • Loading branch information
Shmalikov authored Oct 9, 2024
2 parents d0d1704 + cbf3426 commit 0673267
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ on:
- main
types:
- closed
paths:
- 'release-**'
workflow_dispatch:

jobs:
build-json-archive:
name: Generate and package JSON files
if: ${{ github.event.pull_request.merged }}
if: ${{ (github.event.pull_request.merged && startsWith(github.head_ref, 'release-')) || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-22.04
permissions:
contents: write
Expand Down

0 comments on commit 0673267

Please sign in to comment.