From be13344f9d4a3669cc30b5c431f4c6a6b1d56f77 Mon Sep 17 00:00:00 2001 From: Hector Alfaro Date: Tue, 24 Sep 2019 05:54:16 -0400 Subject: [PATCH 1/6] add team notes on automation --- automation.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 automation.md diff --git a/automation.md b/automation.md new file mode 100644 index 0000000..36255a4 --- /dev/null +++ b/automation.md @@ -0,0 +1,7 @@ +The team would like: + - [ ] branch protections + - [ ] required review approvals + - [ ] easy way to see when enough approvals has been achieved + - [ ] matrix build + - [ ] save build artifacts + - [ ] dedicated test job \ No newline at end of file From 73070c41efb1e43db3d9a16bd1a7f7ec336ec4bf Mon Sep 17 00:00:00 2001 From: Lia Keston Date: Mon, 21 Sep 2020 14:43:43 -0400 Subject: [PATCH 2/6] bump node-forge --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 96e99be..bcc0483 100644 --- a/package.json +++ b/package.json @@ -33,5 +33,7 @@ "webpack-cli": "^3.2.1", "webpack-dev-server": "^3.1.14" }, - "dependencies": {} + "dependencies": { + "node-forge": "^0.10.0" + } } From 3897312cc88ca6ffe73a0e9ea826dd3526920124 Mon Sep 17 00:00:00 2001 From: prakash-amit Date: Wed, 21 Apr 2021 16:33:16 +0530 Subject: [PATCH 3/6] Create approval-workflow.yml a work flow to automate review process --- .github/workflows/approval-workflow.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/workflows/approval-workflow.yml diff --git a/.github/workflows/approval-workflow.yml b/.github/workflows/approval-workflow.yml new file mode 100644 index 0000000..714c9b4 --- /dev/null +++ b/.github/workflows/approval-workflow.yml @@ -0,0 +1 @@ +name: Team awesome's approval workflow From 02673fe4bfb492e89109b5ceb1b193918c3140c5 Mon Sep 17 00:00:00 2001 From: prakash-amit Date: Wed, 21 Apr 2021 16:35:58 +0530 Subject: [PATCH 4/6] Update .github/workflows/approval-workflow.yml any review on PR will trigger this workflow Co-authored-by: github-learning-lab[bot] <37936606+github-learning-lab[bot]@users.noreply.github.com> --- .github/workflows/approval-workflow.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/approval-workflow.yml b/.github/workflows/approval-workflow.yml index 714c9b4..a15705f 100644 --- a/.github/workflows/approval-workflow.yml +++ b/.github/workflows/approval-workflow.yml @@ -1 +1,2 @@ name: Team awesome's approval workflow +on: pull_request_review From dc51e2b142288f869c6b100b855a7d762156bfa0 Mon Sep 17 00:00:00 2001 From: prakash-amit Date: Wed, 21 Apr 2021 16:37:19 +0530 Subject: [PATCH 5/6] Update .github/workflows/approval-workflow.yml Co-authored-by: github-learning-lab[bot] <37936606+github-learning-lab[bot]@users.noreply.github.com> --- .github/workflows/approval-workflow.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/approval-workflow.yml b/.github/workflows/approval-workflow.yml index a15705f..8f732c2 100644 --- a/.github/workflows/approval-workflow.yml +++ b/.github/workflows/approval-workflow.yml @@ -1,2 +1,5 @@ name: Team awesome's approval workflow on: pull_request_review +jobs: + labelWhenApproved: + runs-on: ubuntu-latest From 3d20aeb2238dcc47614cdaf4267189ea1f975ec1 Mon Sep 17 00:00:00 2001 From: prakash-amit Date: Wed, 21 Apr 2021 17:56:50 +0530 Subject: [PATCH 6/6] Update approval-workflow.yml added a community created action to tackle pull request review --- .github/workflows/approval-workflow.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/approval-workflow.yml b/.github/workflows/approval-workflow.yml index 8f732c2..8dde35d 100644 --- a/.github/workflows/approval-workflow.yml +++ b/.github/workflows/approval-workflow.yml @@ -2,4 +2,14 @@ name: Team awesome's approval workflow on: pull_request_review jobs: labelWhenApproved: + name: Label when approved runs-on: ubuntu-latest + steps: + - name: Label when approved + uses: pullreminders/label-when-approved-action@master + env: + APPROVALS: "2" + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ADD_LABEL: "approved" + REMOVE_LABEL: "awaiting%20review" +