Skip to content

Commit

Permalink
GitHub Actions: trigger CI only on 'master' branch, tags, and pull re…
Browse files Browse the repository at this point in the history
…quests

We do not want CI to be performed twice for a pull request from the
same repository: once for a push to a branch and once for a pull
request.
  • Loading branch information
msakai committed May 21, 2024
1 parent 960426c commit 85df004
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
on: [push, pull_request]
on:
push:
branches:
- master
tags:
- '*'
pull_request:

name: build
jobs:
build:
Expand Down

0 comments on commit 85df004

Please sign in to comment.