Skip to content

Commit

Permalink
add a way to run CI on external PRs using a label
Browse files Browse the repository at this point in the history
  • Loading branch information
catwell committed Dec 14, 2023
1 parent 3ff7719 commit f7f4167
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: CI

on: push
on:
push:
pull_request_target:
types: [labeled]

jobs:
lint_and_typecheck:
if: ${{ github.event.name == 'push' || github.event.label.name == 'run-ci' }}
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit f7f4167

Please sign in to comment.