Skip to content

Commit

Permalink
run bare run job only on main branch push
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jan 1, 2024
1 parent 7aa4f92 commit 52265db
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/bare_run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Bare Run on various PHP versions

on:
push:
tags:
- '*.72'
branches:
- main

jobs:
bare_run:
Expand All @@ -15,12 +15,12 @@ jobs:
php_version: ['7.2', '7.3', '7.4', '8.0']

steps:
- uses: actions/checkout@v3

-
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
coverage: none

- run: php bin/vendor-patches list --ansi
- run: composer require symplify/vendor-patches:dev-main

- run: vendor/bin/vendor-patches list --ansi

0 comments on commit 52265db

Please sign in to comment.