Run GitHub Actions only if needed (#9664)

Merge pull request 9664
This commit is contained in:
Ashwin Maroli 2024-09-06 14:50:55 +05:30 committed by GitHub
parent cd5b71ec88
commit f95c5e45bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 10 deletions

View File

@ -5,10 +5,14 @@ on:
branches:
- master
- "*-stable"
paths-ignore:
- "docs/**"
pull_request:
branches:
- master
- "*-stable"
paths-ignore:
- "docs/**"
jobs:
ci:

View File

@ -4,6 +4,8 @@ on:
push:
branches:
- master
paths:
- "docs/**"
env:
RUBY_VERSION: 2.7

View File

@ -34,12 +34,6 @@ name: Spell Check
# For background, see: https://github.com/check-spelling/check-spelling/wiki/Feature:-Update-with-deploy-key
on:
push:
branches:
- master
- "*-stable"
tags-ignore:
- "**"
# Switch from `pull_request_target` event to reduce distraction from comments
# regarding errors reported in unmodified files.
pull_request:

View File

@ -1,15 +1,13 @@
name: Third-Party Repository Profiling
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_n_profile:
if: "!contains(github.event.commits[0].message, '[ci skip]')"
if: "contains(github.event.commits[0].message, '[3P Profile]')"
runs-on: 'ubuntu-latest'
env:
BUNDLE_GEMFILE: "sandbox/Gemfile"