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: branches:
- master - master
- "*-stable" - "*-stable"
paths-ignore:
- "docs/**"
pull_request: pull_request:
branches: branches:
- master - master
- "*-stable" - "*-stable"
paths-ignore:
- "docs/**"
jobs: jobs:
ci: ci:

View File

@ -4,6 +4,8 @@ on:
push: push:
branches: branches:
- master - master
paths:
- "docs/**"
env: env:
RUBY_VERSION: 2.7 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 # For background, see: https://github.com/check-spelling/check-spelling/wiki/Feature:-Update-with-deploy-key
on: on:
push:
branches:
- master
- "*-stable"
tags-ignore:
- "**"
# Switch from `pull_request_target` event to reduce distraction from comments # Switch from `pull_request_target` event to reduce distraction from comments
# regarding errors reported in unmodified files. # regarding errors reported in unmodified files.
pull_request: pull_request:

View File

@ -1,15 +1,13 @@
name: Third-Party Repository Profiling name: Third-Party Repository Profiling
on: on:
push:
branches:
- master
pull_request: pull_request:
branches: branches:
- master - master
jobs: jobs:
build_n_profile: 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' runs-on: 'ubuntu-latest'
env: env:
BUNDLE_GEMFILE: "sandbox/Gemfile" BUNDLE_GEMFILE: "sandbox/Gemfile"