Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/pr-assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
# Step 1: Assign the PR to the person who created it
# This ensures the author remains responsible for addressing feedback
- name: Assign PR to author
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
# This step parses the CODEOWNERS file and matches it against changed files
# to determine the appropriate reviewers for the PR
- name: Assign reviewers based on CODEOWNERS
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
# Authentication token to access PR data and assign reviewers
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -303,7 +303,7 @@ jobs:
# This provides transparency about the automated assignment process
# and helps contributors understand who will be reviewing their code
- name: Add reviewer assignment comment
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
# Authentication token to post comments on the PR
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
# Run this check for PRs and when new branches are created
# This provides early feedback on branch naming issues
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target' || github.event_name == 'create'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const branchName = context.payload.pull_request?.head?.ref || context.ref.replace('refs/heads/', '');
Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:
- name: Check for breaking changes documentation
# Only run on PR events (not on branch creation)
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const title = context.payload.pull_request.title;
Expand Down Expand Up @@ -277,7 +277,7 @@ jobs:
- name: Check PR size
# Only run on PR events (not on branch creation)
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const { data: pullRequest } = await github.rest.pulls.get({
Expand Down Expand Up @@ -362,7 +362,7 @@ jobs:
- name: Add validation summary
# Only run this step if a previous step has failed and we're processing a PR
if: failure() && (github.event_name == 'pull_request' || github.event_name == 'pull_request_target')
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const validTypes = ['feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'build', 'ci', 'chore', 'revert', 'release'];
Expand Down