Skip to content

Commit

Permalink
Enhance GitHub Actions Workflow with PR Triggers (#148)
Browse files Browse the repository at this point in the history
* Add PR triggers to github actions workflow

* Update lint.yml
  • Loading branch information
samriddhi99 authored Jul 29, 2024
1 parent 29a38ca commit 0038e19
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build & test

on: [push]
on:
push:
pull_request:
types: [opened, reopened]

jobs:
run_test:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Linting

on: [push]

on:
push:
pull_request:
types: [opened, reopened]

jobs:
black:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0038e19

Please sign in to comment.