update #3025
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 | |
on: | |
schedule: | |
- cron: "29 0,9 * * *" | |
workflow_dispatch: | |
jobs: | |
test: | |
name: update | |
runs-on: macos-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- uses: aquaproj/aqua-installer@v3.0.0 | |
with: | |
aqua_version: v2.3.1 | |
- name: update & pr | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
aqua i | |
make update-all | |
git diff --exit-code --quiet && exit | |
git diff --name-only | xargs -n 1 brew install --formula --build-from-source | |
git add *.rb | |
git config --global user.email oss@noreply.kayac.com | |
git config --global user.name ossbot | |
git commit -m 'update to newer version' | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
title: update to newer version |