Skip to content
Open
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/nightly_tier_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7

Check warning on line 31 in .github/workflows/nightly_tier_report.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

nightly_tier_report.yml:31: action's hash pin has mismatched or missing version comment: points to commit 3d3c42e5aac5
with:
persist-credentials: false

Expand All @@ -46,7 +46,7 @@
run: pip install -r requirements.txt

- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6

Check warning on line 49 in .github/workflows/nightly_tier_report.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

nightly_tier_report.yml:49: action's hash pin has mismatched or missing version comment: points to commit 249970729cb0
with:
node-version: "22"

Expand All @@ -67,13 +67,13 @@
const report = fs.readFileSync('tier_report.txt', 'utf8');
const title = '[Dashboard: Conformance] Weekly SDK Tier Assessment Failure';

const prevIssues = await github.rest.issues.listForRepo({
const prevIssues = await github.paginate(github.rest.issues.listForRepo, {
...context.repo,
state: 'open'
});

// Find any open issue matching the exact dashboard title
let existingIssue = prevIssues.data.find(issue => issue.title === title);
let existingIssue = prevIssues.find(issue => issue.title === title);

if (report.includes('Tier Assessment: Tier 1')) {
console.log('Tier 1 achieved! Closing open issue if it exists.');
Expand Down
Loading