Skip to content

Commit

Permalink
ci(subgraph): fix condition for workflow dispatch (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewmeconry authored Nov 30, 2023
1 parent a7c9315 commit 6bc68ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/subgraph-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ jobs:
runs-on: ubuntu-latest
needs: [prepare, changelog]
if: >
always() && (
(github.event_name == 'workflow_dispatch') || (
needs.changelog.result == 'success' &&
contains(toJson(github.event.pull_request.labels.*.name), 'subgraph:deploy'))
contains(toJson(github.event.pull_request.labels.*.name), 'subgraph:deploy')))
environment: ${{ needs.prepare.outputs.environment }}
strategy:
fail-fast: false
Expand Down

0 comments on commit 6bc68ec

Please sign in to comment.