Skip to content

Commit

Permalink
ci: run CI only once for pull requests (#29)
Browse files Browse the repository at this point in the history
Configure the trigger as follows:
- all pull requests
- pushes to the `main` branch only
- pushes to any tag

Signed-off-by: Miroslav Bajtoš <saturn@bajtos.net>
  • Loading branch information
bajtos committed Jun 1, 2022
1 parent 469604f commit 8ed7bb2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
@@ -1,5 +1,11 @@
name: ci
on: [push, pull_request]
on:
pull_request:
push:
branches:
- main
tags:
- '*'

env:
XDG_CACHE_HOME: ${{ github.workspace }}/.cache
Expand Down

0 comments on commit 8ed7bb2

Please sign in to comment.