---
name: Update PHP
on:
pull_request:
env:
DOCKER_BUILDKIT: 1
COMPOSER_CACHE_DIR: /tmp/composer-cache
jobs:
update:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup cache
uses: actions/[email protected]
with:
path: $COMPOSER_CACHE_DIR
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: Pararius/[email protected]
id: composer-update
with:
working-dir: ./
composer-token: ${{ secrets.COMPOSER_TOKEN }}
composer-cache: $COMPOSER_CACHE_DIR
- name: Current date
run: echo "DATE=$(date +%Y%m%d)" >> $GITHUB_ENV
- name: Create pull request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: php-update-${{ env.DATE }}
branch-suffix: random
commit-message: '[ci] updated PHP dependencies'
title: Updated PHP dependencies
body: ${{ steps.composer-update.outputs.diff }}
labels: dependencies
base: master
-
Notifications
You must be signed in to change notification settings - Fork 0
Pararius/action-composer-update
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published