mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Update dependabot config (#5027)
This commit is contained in:
parent
4d0110fc15
commit
4272b8ea5c
27
.github/dependabot.yml
vendored
27
.github/dependabot.yml
vendored
@ -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'
|
||||
|
8
.github/workflows/deploy-framework.yml
vendored
8
.github/workflows/deploy-framework.yml
vendored
@ -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: |
|
||||
|
4
.github/workflows/test-phpstan.yml
vendored
4
.github/workflows/test-phpstan.yml
vendored
@ -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 }}
|
||||
|
6
.github/workflows/test-phpunit.yml
vendored
6
.github/workflows/test-phpunit.yml
vendored
@ -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') }}
|
||||
|
2
.github/workflows/test-rector.yml
vendored
2
.github/workflows/test-rector.yml
vendored
@ -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') }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user