Skip to content

Commit

Permalink
ci: only run release if C workflowI was successful
Browse files Browse the repository at this point in the history
  • Loading branch information
timonmasberg committed Feb 13, 2024
1 parent 0fbbd62 commit 6ff0ca4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Release

on:
push:
branches:
- main
workflow_run:
workflows: [ CI ]
types: [ completed ]

jobs:
deployment:
release:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
permissions:
packages: write
pull-requests: write
Expand Down

0 comments on commit 6ff0ca4

Please sign in to comment.