-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: adds PR feedback and moves "add action" steps to actions README.md
Signed-off-by: Jennifer Power <[email protected]>
- Loading branch information
Showing
2 changed files
with
3 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
# Actions | ||
|
||
|
||
Tasks in trestle-bot that we want to expose as an Action are located here. | ||
Tasks in trestle-bot that we want to expose as a GitHub Action are located here. | ||
|
||
# Adding a new Action | ||
|
||
> Note to contributors: We are trying to limit the task that we expose as actions to workspace manage operations and checks only. | ||
1. Add a new folder with the action name | ||
2. Add an action.yml | ||
3. Add an entrypoint script to handle inputs from GitHub Actions | ||
4. Add a COPY line in the Dockerfile | ||
First, create an entrypoint script for the new action in the `trestlebot/entrypoints` directory. Then add the action by creating a new directory in the `actions` directory with an `action.yml` that references your new entrypoint. See the [GitHub Actions documentation](https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action) for more information. | ||
|