Skip to content

Commit

Permalink
fix env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
chpanag committed Jul 31, 2024
1 parent 2c86873 commit 7075e8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/fetch_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
- name: Run script to fetch PRs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
USERS: ${{ github.event.inputs.users }}
REPOS: ${{ github.event.inputs.repos }}
run: |
python tracker.py
Expand Down
4 changes: 2 additions & 2 deletions tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def fetch_prs_across_repos(users, repos):
return all_prs


users_to_track = os.getenv('users').split(',')
repositories = os.getenv('repos').split(',')
users_to_track = os.getenv('USERS').split(',')
repositories = os.getenv('REPOS').split(',')

# Fetch PRs
all_prs = fetch_prs_across_repos(users_to_track, repositories)
Expand Down

0 comments on commit 7075e8d

Please sign in to comment.