-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add fastlane-env-reminder
GitHub Action
#2
Conversation
Is there no way to do the "commit bundled dependencies" step automatically in another branch so the main branch is clean? (Maybe there is a Github Action for that... ;) ) |
That would be lovely @janpio ❤️ It is hard to read the PR changes due to An alternative was to zip the dependencies, like they did in first-interaction action. However I can imagine that updating the dependencies would be harder than updating them in |
👋 @janpio, added However please have a look at the next comment below 👇 |
I did read a
In the future, GitHub will provide tooling and an action to automate it. According to
So basically we would have
The benefits of the described workflow:
We could also consider tagging the releases, however we will have multiple actions in the same repo so it might be an issue. Tagging the releases should be a go for a single, public action though. What do you think? 🤔 |
Ja, that sounds so much more sane. Is this doable manually for now?
You can always prefix the tag and release with the project name to be able to use this functionality properly. As we want to have multiple actions in here, we might have to do that anyway (unless we want to release them all at the same time). |
Totally 👍We can add production dependencies on
Sure 👍 Initially, the idea is to release all the actions at the same time. So we will be creating a PR to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good!
Motivation and Context
It is the first step of bot's code migration to GitHub Actions based on this proposal.
This PR is introducing an action for adding a comment to include
fastlane env
in an issue description.closes #1.
reference to the epic: #3.
Description
I followed the instructions from
Creating a JavaScript Action
guidelines andGetting Started: GitHub context
pull request.I was looking at the examples from GitHub Actions repository, i.e. first-interaction.
Please note that this is just an action implementation. It does not take any effect itself. We still need to create the workflow, which will be using the
add-fastlane-env-comment
action. I will create dedicated issue for that once we merge this PR.There's a lot of changes in this PR because I needed to commit production dependencies. To make a review easier, I did split the commits:
Add GitHub Action for adding a comment to include
fastlane envin an issue description
👈 actual code changesAdd production dependencies
👈 adding production dependenciesWe proposed a solution how to avoid such a big PR in the comments below.
Testing
To test the changes, I implemented the unit tests. To run them, execute
npm test
(followed bynpm install
to install the package dependencies andnpm build
to build the package).🙇 🙇