Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration to composite action. Improving API calls usage. #44

Conversation

miroslavpojer
Copy link
Collaborator

@miroslavpojer miroslavpojer commented Jun 6, 2024

  • GH action type changes to composite.
  • Refactored code to python.
  • Reduced usage of rest API calls amount.
  • Implemented unit tests.

Closes #43

…ype.

- Prepared sh file for local run.
- No code migration done.
- No test migration done.
@miroslavpojer miroslavpojer self-assigned this Jun 6, 2024
action.yml Outdated Show resolved Hide resolved
@@ -98,3 +100,4 @@ runs:
INPUT_GITHUB_REPOSITORY: ${{ github.repository }}
run: |
python ${{ github.action_path }}/main.py
shell: bash
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not define default shell. Let it for the user

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, but 'shell' parameter is required in action.yml.

@miroslavpojer miroslavpojer merged commit b2bddf1 into master Aug 1, 2024
2 checks passed
@miroslavpojer miroslavpojer deleted the feature/43-Migration-to-composite-GH-Action-and-facing-rate-limits branch August 1, 2024 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
work in progress Work on this item is not yet finished (mainly intended for PRs)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migration to composite GH Action and facing rate limits
3 participants