Skip to content

Support filling content field from file + update dependencies#153

Open
ILikePlayingGames wants to merge 5 commits intotsickert:masterfrom
ILikePlayingGames:raw-content
Open

Support filling content field from file + update dependencies#153
ILikePlayingGames wants to merge 5 commits intotsickert:masterfrom
ILikePlayingGames:raw-content

Conversation

@ILikePlayingGames
Copy link
Copy Markdown
Contributor

  • Add support for loading the web hook content field from a text file
  • Update dependencies
  • Fix jest tests not being linted

Loading content from a file instead of step output or env var is useful for cases where the content has special characters that those means cannot handle. One such case is posting ANSI coloured text, which has escape codes.

image

- Add option to send text from a text file in the content field
- Update dependencies
- Fix jest tests not being linted
Copy link
Copy Markdown
Owner

@tsickert tsickert left a comment

Choose a reason for hiding this comment

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

Nice idea, thanks for the testing/linting updates too!

Comment thread package.json Outdated
"eslint-plugin-github": "^4.3.2",
"eslint-plugin-jest": "^25.3.2",
"jest": "^27.2.5",
"@types/node": "^18.14.6",
Copy link
Copy Markdown

@Stanzilla Stanzilla Apr 2, 2024

Choose a reason for hiding this comment

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

this should probably be 20 since it's LTS

@ILikePlayingGames
Copy link
Copy Markdown
Contributor Author

Thanks! Sorry Ive been quite busy recently so I cant fix the conflicts yet. I’ll try to look at it when I have some time.

…ntent

# Conflicts:
#	.eslintignore
#	.github/workflows/test.yml
#	dist/index.js
#	dist/index.js.map
#	jest.config.cjs
#	package-lock.json
#	package.json
#	tsconfig.json
@ILikePlayingGames
Copy link
Copy Markdown
Contributor Author

Sorry I took a while. The conflicts are fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants