Skip to content

Commit

Permalink
Project automation: Rewrite actions using JavaScript (#17080)
Browse files Browse the repository at this point in the history
* Project automation: Rewrite actions using JavaScript

* Project automation: Don't transpile or install all dependencies

* Project automation: pull-request-automation -> project-management-automation

* Project automation: Add explanatory comment for `npm install` hack

* Project automation: Add debug statements

* Project automation: Don't use GitHub's debug() function

* Project automation: Use `payload` in tasks, not `context`

* Project automation: Link to the relevant GitHub documentation
  • Loading branch information
noisysocks authored and gziolo committed Aug 29, 2019
1 parent 2a7f9e6 commit 44862bc
Show file tree
Hide file tree
Showing 25 changed files with 799 additions and 302 deletions.
18 changes: 0 additions & 18 deletions .github/actions/assign-fixed-issues/Dockerfile

This file was deleted.

60 changes: 0 additions & 60 deletions .github/actions/assign-fixed-issues/entrypoint.sh

This file was deleted.

18 changes: 0 additions & 18 deletions .github/actions/first-time-contributor/Dockerfile

This file was deleted.

43 changes: 0 additions & 43 deletions .github/actions/first-time-contributor/entrypoint.sh

This file was deleted.

18 changes: 0 additions & 18 deletions .github/actions/milestone-it/Dockerfile

This file was deleted.

109 changes: 0 additions & 109 deletions .github/actions/milestone-it/entrypoint.sh

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/pull-request-automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on: pull_request
name: Pull request automation

jobs:
pull-request-automation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
# Changing into the action's directory and running `npm install` is much
# faster than a full project-wide `npm ci`.
- run: cd packages/project-management-automation && npm install
- uses: ./packages/project-management-automation
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/pull_request-milestone-merged-pull-requests.yml

This file was deleted.

6 changes: 6 additions & 0 deletions docs/manifest-devhub.json
Original file line number Diff line number Diff line change
Expand Up @@ -1349,6 +1349,12 @@
"markdown_source": "../packages/priority-queue/README.md",
"parent": "packages"
},
{
"title": "@wordpress/project-management-automation",
"slug": "packages-project-management-automation",
"markdown_source": "../packages/project-management-automation/README.md",
"parent": "packages"
},
{
"title": "@wordpress/redux-routine",
"slug": "packages-redux-routine",
Expand Down
Loading

0 comments on commit 44862bc

Please sign in to comment.