-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add initial README.md, CHANGELOG, and .gitignore.
- Loading branch information
Showing
3 changed files
with
91 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Editors | ||
project.xml | ||
project.properties | ||
/nbproject/private/ | ||
.buildpath | ||
.project | ||
.settings* | ||
.idea | ||
.vscode | ||
*.sublime-project | ||
*.sublime-workspace | ||
.sublimelinterrc | ||
|
||
# Grunt | ||
/node_modules/ | ||
none | ||
|
||
# Sass | ||
.sass-cache/ | ||
|
||
# OS X metadata | ||
.DS_Store | ||
|
||
# Windows junk | ||
Thumbs.db | ||
|
||
# ApiGen | ||
/wc-apidocs/ | ||
|
||
# Behat/CLI Tests | ||
tests/cli/installer | ||
tests/cli/composer.phar | ||
tests/cli/composer.lock | ||
tests/cli/composer.json | ||
tests/cli/vendor | ||
|
||
# Unit tests | ||
/tmp | ||
/tests/bin/tmp | ||
/tests/e2e-tests/config/local-*.json | ||
|
||
# Logs | ||
/logs | ||
|
||
# Composer | ||
/vendor/ | ||
|
||
# Built files | ||
/build/ | ||
bin/languages | ||
storybook-static/ | ||
/wp-content/ |
Empty file.
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,2 +1,39 @@ | ||
# automations | ||
Various github action automations | ||
# Project management automation | ||
|
||
> **Note:** Currently this is experimental while I learn Github actions. | ||
This is a [GitHub Action](https://help.github.com/en/categories/automating-your-workflow-with-github-actions) which contains various automations to assist with project management in a Github repository: | ||
|
||
- `todos`: Parses for `@todo` or `@TODO` comments in code and adds as inline review comments for reviews on pull request, and creates issues for each one if they exist when a pull is merged. | ||
|
||
# Installation and usage | ||
|
||
To use the action, include it in your workflow configuration file: | ||
|
||
```yaml | ||
on: pull_request | ||
jobs: | ||
pull-request-automation: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: WordPress/gutenberg/packages/project-management-automation@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
automations: [ todos ] | ||
|
||
``` | ||
|
||
# API | ||
|
||
## Inputs | ||
|
||
- `github_token`: Required. GitHub API token to use for making API requests. This should be stored as a secret in the GitHub repository. | ||
- `automations`: Optional. You can include a list of specific automations you want to run if you don't want to use them all in a given workflow. | ||
|
||
## Outputs | ||
|
||
_None._ | ||
|
||
## Credits | ||
|
||
Thanks to the work of the Gutenberg team (particularly @aduth) in providing some inspiration for this approach to bundling various automations together. |