Skip to content

Commit

Permalink
refact: getting different number of commits ... checking with differe…
Browse files Browse the repository at this point in the history
…nt token
  • Loading branch information
kopardev committed Jul 20, 2024
1 parent 759455c commit d69f47b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/auto_update_org_readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ jobs:
- name: Run Docker to make readme
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.OMNITOKEN }}
run: |
docker run -e GITHUB_TOKEN=$GITHUB_TOKEN -v ${{ github.workspace }}:/workspace -w /workspace nciccbr/make_readme:latest bash ./assets/make_readme/make_readme.sh
- name: verify output
run: |
cat profile/README.md
# - name: Commit changes
# uses: stefanzweifel/git-auto-commit-action@v5
# env:
# GITHUB_TOKEN: ${{ github.token }}
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
env:
GITHUB_TOKEN: ${{ secrets.OMNITOKEN }}
1 change: 0 additions & 1 deletion assets/make_readme/get_recent_releases_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def get_repos(org_name):
page = 1
while True:
response = requests.get(f'https://api.github.com/orgs/{org_name}/repos?per_page=100&page={page}', headers=headers)
print(response.json())
if response.status_code != 200:
break
repos.extend(response.json())
Expand Down

0 comments on commit d69f47b

Please sign in to comment.