Skip to content

Commit

Permalink
chore(github-workflow): test bankrupt-issues
Browse files Browse the repository at this point in the history
  • Loading branch information
samcx committed Jun 10, 2024
1 parent 1e43243 commit 6b0b1f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/next-repo-actions/dist/bankrupt/index.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .github/actions/next-repo-actions/src/bankrupt-issues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ async function main() {
// let issue_number: number[] = []

try {
info(`Query: ${query}`) // Debugging: print the query
const { data } = await octokit.rest.search.issuesAndPullRequests({
q: query,
per_page: 50,
})

info(`Total # of issues = ${data.items.length}`)
info(`Response data: ${JSON.stringify(data, null, 2)}`)

// await octokit.rest.issues.createComment({
// owner,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue_bankrupt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

jobs:
run:
bankrupt:
if: github.repository_owner == 'vercel'
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 6b0b1f7

Please sign in to comment.