Skip to content

Commit

Permalink
feat(ci): run on pull requests
Browse files Browse the repository at this point in the history
Only on branches from forks, though - to avoid duplicate workflow
runs, as workflows on branches in this GitHub repository are already triggered
by the `push` clause
  • Loading branch information
gekoke committed Jun 27, 2024
1 parent 17126c4 commit f195eb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: ci

on:
push:
pull_request:

jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down

0 comments on commit f195eb1

Please sign in to comment.