fix(setup): clear stale status after fresh clone #13
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: Homebrew | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release | |
| - "release-*" | |
| pull_request: | |
| branches: | |
| - main | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: homebrew-${{ github.workflow }}-${{ github.head_ref || github.ref_name }} | |
| cancel-in-progress: true | |
| jobs: | |
| formula: | |
| name: Formula Syntax | |
| runs-on: macos-26 | |
| steps: | |
| - name: Checkout mac-sync | |
| uses: actions/checkout@v7 | |
| - name: Validate Ruby syntax | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| ruby -c Formula/mac-sync.rb | |
| - name: Validate Homebrew style | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| brew style Formula/mac-sync.rb | |
| - name: Inspect formula | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| brew tap stephenlclarke/mac-sync "${GITHUB_WORKSPACE}" | |
| brew trust --tap stephenlclarke/mac-sync | |
| brew info --formula stephenlclarke/mac-sync/mac-sync |