Skip to content

Commit

Permalink
chore: only run workflow for certain users or label
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding authored Nov 13, 2023
1 parent 37aadb0 commit 7f7dbe1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ on:
push:
branches: [main,next]
pull_request_target:
types: [assigned, opened, synchronize, reopened]
types: [assigned, labeled, opened, synchronize, reopened]
branches:
- '**'
jobs:
run:
if: github.repository_owner == 'ghiscoding' || github.repository_owner == 'renovate-bot' || contains(github.event.pull_request.labels.*.name, 'run workflow')
name: Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 7f7dbe1

Please sign in to comment.