Skip to content

Commit

Permalink
fix: release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kfc-manager committed Mar 19, 2024
1 parent db81884 commit d57fcbe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Release
on:
push:
branches: ["main"]
workflow_run:
workflows: ["lint", "scan", "test"]
types:
- completed
workflow_run:
workflows: ["Lint", "Secrets Scan", "Test"]
types:
- completed

permissions:
contents: write
Expand All @@ -15,7 +15,7 @@ permissions:
jobs:
release:
runs-on: "ubuntu-latest"
if: ${{ github.event.lint.conclusion == 'success' && github.event.scan.conclusion == 'success' && github.evenet.test.conclusion == 'success'}}
if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- uses: rymndhng/release-on-push-action@master
Expand Down

0 comments on commit d57fcbe

Please sign in to comment.