Update Formulae List #761
This file contains hidden or 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 Formulae List | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "Formula/**" | |
| schedule: | |
| - cron: "0 0 * * 0" | |
| permissions: | |
| contents: write | |
| # Keep only the newest run for a given ref. | |
| # Side effect: older commits can show a cancelled check in GitHub's UI because | |
| # concurrency cancellation is reported as cancelled, not skipped/successful. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| update-list: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| - run: brew update | |
| - name: Tap the repo | |
| run: brew tap chenrui333/tap | |
| - name: Run update-list script | |
| run: .github/scripts/update-list.sh | |
| - name: Push changes back | |
| if: always() | |
| run: git push |