Skip to content

Commit

Permalink
Merge branch 'main' of github.com:insper-education/issue_generator in…
Browse files Browse the repository at this point in the history
…to main
  • Loading branch information
dsoldev committed Sep 25, 2023
2 parents f773f64 + ab83373 commit f249372
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Check for open issues
id: check_issues
run: |
ISSUES=$(curl -H "Authorization: token ${{ secrets.INSPER_BOT }}" \
ISSUES=$(curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/issues?state=all)
COUNT=$(echo "$ISSUES" | jq '. | length')
Expand All @@ -30,7 +30,7 @@ jobs:
if: steps.check_issues.outputs.has_issues == 'false'
uses: actions/github-script@v3
with:
github-token: ${{secrets.INSPER_BOT}}
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const fs = require('fs');
const path = require('path');
Expand Down

0 comments on commit f249372

Please sign in to comment.