Skip to content

Commit

Permalink
CI: Run pipeline only on master branch and pull requests
Browse files Browse the repository at this point in the history
To avoid double runs when pushing on open pull requests.
  • Loading branch information
larskanis committed Aug 10, 2024
1 parent f882bc4 commit 764f6d5
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/source-gem.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
name: Source gem

name: CI
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "0 5 * * 3" # At 05:00 on Wednesday # https://crontab.guru/#0_5_*_*_3
push:
branches:
- master
tags:
- "*.*.*"
pull_request:
types: [opened, synchronize]
branches:
- "*"
permissions:
contents: read

jobs:
job_build_gem:
Expand Down

0 comments on commit 764f6d5

Please sign in to comment.