diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6532121074ad..d3afefe5c9fd 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,13 +1,18 @@ version: 2 + updates: -- package-ecosystem: composer - directory: "/" - schedule: - interval: daily - open-pull-requests-limit: 10 + - 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" + - package-ecosystem: 'github-actions' + directory: '/' + schedule: + interval: 'daily' + ignore: + - dependency-name: '*' + update-types: + - 'version-update:semver-minor' + - 'version-update:semver-patch' diff --git a/.github/workflows/deploy-framework.yml b/.github/workflows/deploy-framework.yml index fff563878b2e..226cf242ed59 100644 --- a/.github/workflows/deploy-framework.yml +++ b/.github/workflows/deploy-framework.yml @@ -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: | diff --git a/.github/workflows/test-phpstan.yml b/.github/workflows/test-phpstan.yml index 86b68b058ea1..0e59e3bf4e3a 100644 --- a/.github/workflows/test-phpstan.yml +++ b/.github/workflows/test-phpstan.yml @@ -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 }} diff --git a/.github/workflows/test-phpunit.yml b/.github/workflows/test-phpunit.yml index 9b9da589720f..5dd68a65eac1 100644 --- a/.github/workflows/test-phpunit.yml +++ b/.github/workflows/test-phpunit.yml @@ -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') }} diff --git a/.github/workflows/test-rector.yml b/.github/workflows/test-rector.yml index e1420c965f37..0d7262ceb4ea 100644 --- a/.github/workflows/test-rector.yml +++ b/.github/workflows/test-rector.yml @@ -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') }}