Skip to content

Conversation

@2bndy5
Copy link
Contributor

@2bndy5 2bndy5 commented Jan 8, 2024

This fixes the thread-comments feature when users specify a personal access token instead of the generic GITUHB_TOKEN

Thankfully, we can still identify our generated comments using the action-specific HTML comment embedded in the beginning of the comment text.

Note: The HTML comment is only seen for public repositories. For private repos, the comment's body fetched by REST API is in plain text (with HTML syntax removed).

@2bndy5 2bndy5 added the bug Something isn't working label Jan 8, 2024
This fixes the thread-comments feature when users specify a personal access token instead of the generic `GITUHB_TOKEN`

Thankfully, we can still identify our generated comments using the action-specific HTML comment embedded in the beginning of the comment text.

Note: The HTML comment is only seen for public repositories. For private repos, the comment's body fetched by REST API is in plain text (with HTML syntax removed).
@2bndy5 2bndy5 force-pushed the allow-user-tokens branch from 7cc858b to f082eac Compare January 8, 2024 04:02
@codecov
Copy link

codecov bot commented Jan 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a322749) 99.90% compared to head (f082eac) 99.90%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #53      +/-   ##
==========================================
- Coverage   99.90%   99.90%   -0.01%     
==========================================
  Files          18       18              
  Lines        1100     1099       -1     
==========================================
- Hits         1099     1098       -1     
  Misses          1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@2bndy5 2bndy5 requested a review from shenxianpeng January 8, 2024 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants