chore: batch dependabot updates 2026-06-17 #123
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
| # ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". | |
| name: build | |
| on: | |
| pull_request: {} | |
| workflow_dispatch: {} | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| checks: write | |
| contents: write | |
| actions: write | |
| env: | |
| CI: "true" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| - name: Set git identity | |
| run: |- | |
| git config user.name "github-actions" | |
| git config user.email "github-actions@github.com" | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18.x | |
| - name: Setup Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: corretto | |
| java-version: "11" | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.x" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: build | |
| run: npx projen build | |
| - name: Check for changes | |
| id: git_diff | |
| run: git diff --exit-code || echo "has_changes=true" >> "$GITHUB_OUTPUT" | |
| - if: steps.git_diff.outputs.has_changes | |
| name: Commit and push changes (if changed) | |
| run: 'git add . && git commit -m "chore: self mutation" && git push origin | |
| HEAD:"$PR-HEAD-REF"' | |
| env: | |
| PR_HEAD_REF: ${{ github.event.pull_request.head.ref }} | |
| - if: steps.git_diff.outputs.has_changes | |
| name: Update status check (if changed) | |
| run: |- | |
| gh api -X POST /repos/${PR_REPO_FULL_NAME}/check-runs \ | |
| -F name="build" -F head_sha="$(git rev-parse HEAD)" \ | |
| -F status="completed" -F conclusion="success" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| PR_REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name}} | |
| - if: steps.git_diff.outputs.has_changes | |
| name: Cancel workflow (if changed) | |
| run: gh api -X POST /repos/${PR_REPO_FULL_NAME}/actions/runs/${{ github.run_id }}/cancel | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| PR_REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name}} |