Skip to content

Commit 4272b8e

Browse files
authored
Update dependabot config (#5027)
1 parent 4d0110f commit 4272b8e

5 files changed

Lines changed: 25 additions & 20 deletions

File tree

.github/dependabot.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
version: 2
2+
23
updates:
3-
- package-ecosystem: composer
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
open-pull-requests-limit: 10
4+
- package-ecosystem: 'composer'
5+
directory: '/'
6+
schedule:
7+
interval: 'daily'
8+
open-pull-requests-limit: 10
89

9-
- package-ecosystem: "github-actions"
10-
directory: "/"
11-
schedule:
12-
# Check for updates to GitHub Actions every weekday
13-
interval: "daily"
10+
- package-ecosystem: 'github-actions'
11+
directory: '/'
12+
schedule:
13+
interval: 'daily'
14+
ignore:
15+
- dependency-name: '*'
16+
update-types:
17+
- 'version-update:semver-minor'
18+
- 'version-update:semver-patch'

.github/workflows/deploy-framework.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
framework:
1111
name: Deploy to framework
12-
if: (github.repository == 'codeigniter4/CodeIgniter4')
12+
if: github.repository == 'codeigniter4/CodeIgniter4'
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Identify
@@ -36,7 +36,7 @@ jobs:
3636
run: ./source/.github/scripts/deploy-framework ${GITHUB_WORKSPACE}/source ${GITHUB_WORKSPACE}/framework ${GITHUB_REF##*/}
3737

3838
- name: Release
39-
uses: actions/github-script@v4.0.2
39+
uses: actions/github-script@v4
4040
with:
4141
github-token: ${{secrets.ACCESS_TOKEN}}
4242
script: |
@@ -54,7 +54,7 @@ jobs:
5454
5555
appstarter:
5656
name: Deploy to appstarter
57-
if: (github.repository == 'codeigniter4/CodeIgniter4')
57+
if: github.repository == 'codeigniter4/CodeIgniter4'
5858
runs-on: ubuntu-latest
5959
steps:
6060
- name: Identify
@@ -81,7 +81,7 @@ jobs:
8181
run: ./source/.github/scripts/deploy-appstarter ${GITHUB_WORKSPACE}/source ${GITHUB_WORKSPACE}/appstarter ${GITHUB_REF##*/}
8282

8383
- name: Release
84-
uses: actions/github-script@v4.0.2
84+
uses: actions/github-script@v4
8585
with:
8686
github-token: ${{secrets.ACCESS_TOKEN}}
8787
script: |

.github/workflows/test-phpstan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: mkdir -p ${{ steps.composer-cache.outputs.dir }}
5555

5656
- name: Cache composer dependencies
57-
uses: actions/cache@v2.1.5
57+
uses: actions/cache@v2
5858
with:
5959
path: ${{ steps.composer-cache.outputs.dir }}
6060
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -64,7 +64,7 @@ jobs:
6464
run: mkdir -p build/phpstan
6565

6666
- name: Cache PHPStan result cache directory
67-
uses: actions/cache@v2.1.5
67+
uses: actions/cache@v2
6868
with:
6969
path: build/phpstan
7070
key: ${{ runner.os }}-phpstan-${{ github.sha }}

.github/workflows/test-phpunit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ jobs:
4444
db-platforms: ['MySQLi', 'Postgre', 'SQLite3', 'SQLSRV']
4545
mysql-versions: ['5.7']
4646
include:
47-
- php-versions: 7.4
47+
- php-versions: '7.4'
4848
db-platforms: MySQLi
49-
mysql-versions: 8.0
49+
mysql-versions: '8.0'
5050

5151
services:
5252
mysql:
@@ -113,7 +113,7 @@ jobs:
113113
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
114114

115115
- name: Cache dependencies
116-
uses: actions/cache@v2.1.5
116+
uses: actions/cache@v2
117117
with:
118118
path: ${{ steps.composercache.outputs.dir }}
119119
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

.github/workflows/test-rector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
run: mkdir -p ${{ steps.composer-cache.outputs.dir }}
5959

6060
- name: Cache composer dependencies
61-
uses: actions/cache@v2.1.5
61+
uses: actions/cache@v2
6262
with:
6363
path: ${{ steps.composer-cache.outputs.dir }}
6464
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}

0 commit comments

Comments
 (0)