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

feat: enhanced actions logging with clear annotations #61

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

aj3sh
Copy link
Member

@aj3sh aj3sh commented Jul 25, 2024

Description

Features:

  • Clear error view on Github Actions (from log, summary, and annotations).
  • Improved performance by using Github API instead of using checkout action
  • Fixed issue: commit description having ` on push event. eg. `my_function`.

Development Summary

  • Rewrote GitHub Actions (using Github API and events).
  • Added GitHub Actions job summary.
  • Added GitHub Actions error annotations.
  • Added token for input (defaults to GITHUB_TOKEN).
  • Created --hide-input argument specifically for GitHub Actions.

Related Issue

Fixes #56

Type of Change

Please mark the appropriate option below to describe the type of change your pull request introduces:

  • Bug fix
  • New feature
  • Enhancement
  • Documentation update
  • Refactor
  • Other (please specify)

Checklist

  • My pull request has a clear title and description.
  • I have used semantic commit messages.
    Examples: "fix: Fixed foobar bug", "feat(accounts): Added foobar feature".
  • I have added/updated the necessary documentation on README.md.
  • I have added appropriate test cases (if applicable) to ensure the changes are functioning correctly.

Additional Context

Success

AScreenshot 2024-07-25 at 7 18 57 PM Screenshot 2024-07-25 at 7 17 33 PM

Failure

Screenshot 2024-07-25 at 7 18 04 PM Screenshot 2024-07-25 at 7 18 40 PM

By submitting this pull request, I confirm that I have read and complied with the contribution guidelines of this project.

- Rewrote GitHub Actions (using Github API and events).
- Added GitHub Actions job summary.
- Added GitHub Actions error annotations.
- Added `token` for input (defaults to GITHUB_TOKEN).
- Created `--hide-input` argument specifically for GitHub Actions.
@aj3sh
Copy link
Member Author

aj3sh commented Aug 7, 2024

No active reviewers. Merging this PR.

@aj3sh aj3sh merged commit 7f72e91 into opensource-nepal:main Aug 7, 2024
3 checks passed
@aj3sh aj3sh deleted the github-annotations branch August 7, 2024 08:11
@github-actions github-actions bot mentioned this pull request Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add clear error annotations for commitlint github actions
1 participant