Skip to content

Update PHARs

Update PHARs #1693

Workflow file for this run

name: Update PHARs
on:
schedule:
- cron: '30 3 * * *'
jobs:
update-phars:
runs-on: ubuntu-latest
name: Create a PR
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
ini-values: "phar.readonly=0"
- name: Configure git
run: git config user.email '[email protected]' && git config user.name 'Jakub Zalas'
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y hub
- name: Update PHARs
run: make package-devkit update-phars
- name: Send a Pull Request
run: "git diff --exit-code master -- resources/ || hub pull-request -h tools-update -a jakzal -m 'Update tools' -m '' -m ':robot: This pull request was automagically sent from Github'"
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}