fix(targets): extend user-symlink preservation to codex and opencode … #541
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: Release PR | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| issues: write | |
| concurrency: | |
| group: release-pr-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| release-pr: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Detect release PR merge | |
| id: detect | |
| run: | | |
| MSG=$(git log -1 --format=%s) | |
| if [[ "$MSG" == chore:\ release* ]]; then | |
| echo "is_release_merge=true" >> "$GITHUB_OUTPUT" | |
| else | |
| echo "is_release_merge=false" >> "$GITHUB_OUTPUT" | |
| fi | |
| - name: Validate release metadata scripts | |
| if: steps.detect.outputs.is_release_merge == 'false' | |
| run: bun run release:validate | |
| - name: Maintain release PR | |
| id: release | |
| uses: googleapis/release-please-action@v4.4.0 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| config-file: .github/release-please-config.json | |
| manifest-file: .github/.release-please-manifest.json | |
| skip-labeling: false |