Update dependabot config (#5027)

This commit is contained in:
John Paul E. Balandan, CPA 2021-08-27 21:10:08 +08:00 committed by GitHub
parent 4d0110fc15
commit 4272b8ea5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 21 deletions

View File

@ -1,13 +1,18 @@
version: 2
updates:
- package-ecosystem: composer
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every weekday
interval: "daily"
updates:
- package-ecosystem: 'composer'
directory: '/'
schedule:
interval: 'daily'
open-pull-requests-limit: 10
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
ignore:
- dependency-name: '*'
update-types:
- 'version-update:semver-minor'
- 'version-update:semver-patch'

View File

@ -9,7 +9,7 @@ on:
jobs:
framework:
name: Deploy to framework
if: (github.repository == 'codeigniter4/CodeIgniter4')
if: github.repository == 'codeigniter4/CodeIgniter4'
runs-on: ubuntu-latest
steps:
- name: Identify
@ -36,7 +36,7 @@ jobs:
run: ./source/.github/scripts/deploy-framework ${GITHUB_WORKSPACE}/source ${GITHUB_WORKSPACE}/framework ${GITHUB_REF##*/}
- name: Release
uses: actions/github-script@v4.0.2
uses: actions/github-script@v4
with:
github-token: ${{secrets.ACCESS_TOKEN}}
script: |
@ -54,7 +54,7 @@ jobs:
appstarter:
name: Deploy to appstarter
if: (github.repository == 'codeigniter4/CodeIgniter4')
if: github.repository == 'codeigniter4/CodeIgniter4'
runs-on: ubuntu-latest
steps:
- name: Identify
@ -81,7 +81,7 @@ jobs:
run: ./source/.github/scripts/deploy-appstarter ${GITHUB_WORKSPACE}/source ${GITHUB_WORKSPACE}/appstarter ${GITHUB_REF##*/}
- name: Release
uses: actions/github-script@v4.0.2
uses: actions/github-script@v4
with:
github-token: ${{secrets.ACCESS_TOKEN}}
script: |

View File

@ -54,7 +54,7 @@ jobs:
run: mkdir -p ${{ steps.composer-cache.outputs.dir }}
- name: Cache composer dependencies
uses: actions/cache@v2.1.5
uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@ -64,7 +64,7 @@ jobs:
run: mkdir -p build/phpstan
- name: Cache PHPStan result cache directory
uses: actions/cache@v2.1.5
uses: actions/cache@v2
with:
path: build/phpstan
key: ${{ runner.os }}-phpstan-${{ github.sha }}

View File

@ -44,9 +44,9 @@ jobs:
db-platforms: ['MySQLi', 'Postgre', 'SQLite3', 'SQLSRV']
mysql-versions: ['5.7']
include:
- php-versions: 7.4
- php-versions: '7.4'
db-platforms: MySQLi
mysql-versions: 8.0
mysql-versions: '8.0'
services:
mysql:
@ -113,7 +113,7 @@ jobs:
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache dependencies
uses: actions/cache@v2.1.5
uses: actions/cache@v2
with:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

View File

@ -58,7 +58,7 @@ jobs:
run: mkdir -p ${{ steps.composer-cache.outputs.dir }}
- name: Cache composer dependencies
uses: actions/cache@v2.1.5
uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}