Skip to content

Commit

Permalink
ci: run on push or PR, not both
Browse files Browse the repository at this point in the history
  • Loading branch information
laduke committed Apr 11, 2024
1 parent 7a4ea48 commit 782081c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: CI

on:
push:
branches: ["main"]

pull_request:

permissions:
Expand All @@ -13,6 +11,7 @@ permissions:

jobs:
build_lint_etc:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name

runs-on: ubuntu-latest

Expand Down

0 comments on commit 782081c

Please sign in to comment.