Add instructions for developing with a local version of the action#250
Add instructions for developing with a local version of the action#250zimeg merged 5 commits intoslackapi:mainfrom
Conversation
seratch
left a comment
There was a problem hiding this comment.
Looks good to me; it seems the CI builds are failing now although perhaps your changes are unrelated
|
|
||
| **Requirements**: | ||
|
|
||
| - An installation of [nektos/act](https://github.com/nektos/act) |
WilliamBergamin
left a comment
There was a problem hiding this comment.
Good additions 💯
filmaj
left a comment
There was a problem hiding this comment.
LGTM but yeah we should check the integration test failures
|
@seratch @WilliamBergamin @filmaj Thank y'all for the reviews! The failing integration tests are strange, but I believe this is caused by this PR coming from a fork. From the "Actions" tab in settings:
It looks like there's a workaround that requires some additions to the workflow file, which might be useful for future contributions! I'll open a new issue to track changes around this, but since this PR doesn't change current behaviors I think it's fine to merge as is. |
|
Hmm that is odd. Usually there is a 'allow the tests to run for this PR' in the case that the PR comes from a fork. |
|
Going to merge this as is since I believe the integration tests are failing due to secrets not being shared with actions run by forks, not from the changes within. Will quickly revert it if failures continue, but continuing research into the failed integration tests in #258 🔍 |
Summary
This PR introduces instructions for developing with a local version of the action to improve the development experience. No longer are pushes and tags to a remote branch necessary.
These changes allow custom configurations to be made to the event payloads to test various cases, and different techniques can be tried with changes to the
local.ymlfile.At the moment only a simple
payloadis provided to mock Technique 1. I think this is alright to start as more events could be added over time, or experiments can just be performed locally.Open to any thoughts on this!
Requirements