Update PHARs #1679
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |