Skip to content

Commit

Permalink
Moving gh token
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcspadden committed Aug 8, 2023
1 parent 751d407 commit 050dde5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/TestGitHubReleasesInfoProvider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# without this, API limits will be hit
run: |
cd ~
echo ${{ secrets.GITHUB_TOKEN }} > ".autopkg_gh_token"
echo ${{ secrets.GITHUB_TOKEN }} > "~/Library/AutoPkg/gh_token"
- name: checkout this repo
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
# without this, API limits will be hit
run: |
cd ~
echo ${{ secrets.GITHUB_TOKEN }} > ".autopkg_gh_token"
echo ${{ secrets.GITHUB_TOKEN }} > "~/Library/AutoPkg/gh_token"
- name: Install requirements
run: pip install --requirement gh_actions_requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion Code/tests/test_githubreleasesinfoprovider.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def setUp(self):
self.base_env = {
"CURL_PATH": "/usr/bin/curl",
"GITHUB_URL": "https://api.github.com",
"GITHUB_TOKEN_PATH": "~/.autopkg_gh_token",
"GITHUB_TOKEN_PATH": "~/Library/AutoPkg/gh_token",
}
self.processor = GitHubReleasesInfoProvider()

Expand Down

0 comments on commit 050dde5

Please sign in to comment.