Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/review-feedback-backfill.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
env:
GH_TOKEN: ${{ secrets.EVALOPS_REVIEW_GUARD_TOKEN }}
GH_TOKEN: ${{ secrets.EVALOPS_REVIEW_GUARD_TOKEN || secrets.EVALOPS_ORG_READ_TOKEN }}
SINCE_HOURS: ${{ inputs.since_hours || '720' }}
MIN_SEVERITY: ${{ inputs.min_severity || 'high' }}
PR_LIMIT: ${{ inputs.pr_limit || '1000' }}
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Require org review guard token
run: |
if [ -z "${GH_TOKEN}" ]; then
echo "::error::Set secrets.EVALOPS_REVIEW_GUARD_TOKEN with org-wide PR read access before running the 30-day feedback backfill."
echo "::error::Set secrets.EVALOPS_REVIEW_GUARD_TOKEN or secrets.EVALOPS_ORG_READ_TOKEN with org-wide PR read access before running the 30-day feedback backfill."
exit 2
fi

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/review-feedback-sentinel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
env:
GH_TOKEN: ${{ secrets.EVALOPS_REVIEW_GUARD_TOKEN }}
GH_TOKEN: ${{ secrets.EVALOPS_REVIEW_GUARD_TOKEN || secrets.EVALOPS_ORG_READ_TOKEN }}
SINCE_HOURS: ${{ inputs.since_hours || '72' }}
MIN_SEVERITY: ${{ inputs.min_severity || 'high' }}
PR_LIMIT: ${{ inputs.pr_limit || '100' }}
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Require org review guard token
run: |
if [ -z "${GH_TOKEN}" ]; then
echo "::error::Set secrets.EVALOPS_REVIEW_GUARD_TOKEN with org-wide PR read access before running the review feedback sentinel."
echo "::error::Set secrets.EVALOPS_REVIEW_GUARD_TOKEN or secrets.EVALOPS_ORG_READ_TOKEN with org-wide PR read access before running the review feedback sentinel."
exit 2
fi

Expand Down
Loading