Skip to content

Commit

Permalink
DEFAULT_BASE_URL moved to github.Consts, update requirements hash
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed May 26, 2023
1 parent b2aa741 commit 759fde8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composite/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ runs:
continue-on-error: true
with:
path: ${{ steps.os.outputs.pip-cache }}
key: enricomi-publish-action-${{ runner.os }}-${{ runner.arch }}-pip-${{ steps.python.outputs.version }}-f3f2c295046c91ed612b4efb6c9fb352
key: enricomi-publish-action-${{ runner.os }}-${{ runner.arch }}-pip-${{ steps.python.outputs.version }}-9fd5728b46aebcfec07861a1098bbd2f

- name: Install Python dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions python/publish_test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,8 @@ def get_settings(options: dict, gha: GithubAction) -> Settings:
event_name == 'pull_request' and \
event.get('pull_request', {}).get('head', {}).get('repo', {}).get('full_name') != repo

api_url = options.get('GITHUB_API_URL') or github.MainClass.DEFAULT_BASE_URL
graphql_url = options.get('GITHUB_GRAPHQL_URL') or f'{github.MainClass.DEFAULT_BASE_URL}/graphql'
api_url = options.get('GITHUB_API_URL') or github.Consts.DEFAULT_BASE_URL
graphql_url = options.get('GITHUB_GRAPHQL_URL') or f'{github.Consts.DEFAULT_BASE_URL}/graphql'
test_changes_limit = get_var('TEST_CHANGES_LIMIT', options) or '10'
check_var_condition(test_changes_limit.isnumeric(), f'TEST_CHANGES_LIMIT must be a positive integer or 0: {test_changes_limit}')

Expand Down

0 comments on commit 759fde8

Please sign in to comment.