Skip to content

Commit

Permalink
Prevent duplicate CI runs, also work with PRs from forks (graphql-pyt…
Browse files Browse the repository at this point in the history
…hon#1443)

* Prevent duplicate CI runs

* Trigger CI on pull requests from forks
  • Loading branch information
kiendang authored and superlevure committed Aug 9, 2023
1 parent ddda456 commit 22cd019
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Lint

on: [push, pull_request]
on:
push:
branches: ["main"]
pull_request:

jobs:
build:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Tests

on: [push, pull_request]
on:
push:
branches: ["main"]
pull_request:

jobs:
build:
Expand Down

0 comments on commit 22cd019

Please sign in to comment.