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

Support filling content field from file + update dependencies #153

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ILikePlayingGames
Copy link
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
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!

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

@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
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
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