diff --git a/.github/workflows/claude-pr-review.yaml b/.github/workflows/claude-pr-review.yaml new file mode 100644 index 0000000..46d00b7 --- /dev/null +++ b/.github/workflows/claude-pr-review.yaml @@ -0,0 +1,20 @@ +name: Claude PR Review + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} + cancel-in-progress: true + +on: + pull_request: + types: [opened, synchronize] + +permissions: {} + +jobs: + review: + uses: senzing-factory/build-resources/.github/workflows/claude-pull-request-review.yaml@v3 + permissions: + contents: read + pull-requests: write + secrets: + CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} diff --git a/.github/workflows/link-issues-to-pr-post-merge.yaml b/.github/workflows/link-issues-to-pr-post-merge.yaml new file mode 100644 index 0000000..a8807c0 --- /dev/null +++ b/.github/workflows/link-issues-to-pr-post-merge.yaml @@ -0,0 +1,16 @@ +name: Link Issues to PR Post Merge + +on: + pull_request: + types: [closed] + +permissions: {} + +jobs: + link-issues: + # Only run if PR was actually merged (not just closed) + if: github.event.pull_request.merged == true + permissions: + pull-requests: write + contents: read + uses: senzing-factory/build-resources/.github/workflows/link-issues-to-pull-request-post-merge.yaml@v3 diff --git a/.github/workflows/spellcheck.yaml b/.github/workflows/spellcheck.yaml index 5cdd3a2..a89ac8f 100644 --- a/.github/workflows/spellcheck.yaml +++ b/.github/workflows/spellcheck.yaml @@ -10,13 +10,4 @@ jobs: spellcheck: permissions: contents: read - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v5 - with: - persist-credentials: false - - - uses: streetsidesoftware/cspell-action@v8 - with: - config: .vscode/cspell.json + uses: senzing-factory/build-resources/.github/workflows/cspell.yaml@v3