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 506aad8eccb3b3f4b836129f07a6e8726aad8777 Mon Sep 17 00:00:00 2001 From: Jon Jozwiak Date: Wed, 1 Jun 2022 14:39:09 -0500 Subject: [PATCH 3/6] Create approval-workflow.yml --- .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 6d7ece2aa0d5c0e05a6f3d68c34de05862a7be91 Mon Sep 17 00:00:00 2001 From: Jon Jozwiak Date: Wed, 1 Jun 2022 14:45:18 -0500 Subject: [PATCH 4/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 | 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 10f3e948c02ce54c53a787fd0e719bb15f39c528 Mon Sep 17 00:00:00 2001 From: Jon Jozwiak Date: Wed, 1 Jun 2022 14:46:38 -0500 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 2d96972aca4cf355f32498c50419c56df79985dd Mon Sep 17 00:00:00 2001 From: Jon Jozwiak Date: Wed, 1 Jun 2022 14:55:40 -0500 Subject: [PATCH 6/6] Added label-when-approved-action --- .github/workflows/approval-workflow.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/approval-workflow.yml b/.github/workflows/approval-workflow.yml index 8f732c2..ca7b18d 100644 --- a/.github/workflows/approval-workflow.yml +++ b/.github/workflows/approval-workflow.yml @@ -3,3 +3,10 @@ on: pull_request_review jobs: labelWhenApproved: runs-on: ubuntu-latest + steps: + - name: Label when approved + uses: pullreminders/label-when-approved-action@master + env: + APPROVALS: "1" + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ADD_LABEL: "approved"