From 383d9d567f1c05d4c20e1265028b29de4910dad8 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 17 Jan 2024 13:21:40 -0800 Subject: [PATCH 1/5] chore(ci): add fossa workflow --- .github/workflows/enforce-license-compliance.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/enforce-license-compliance.yml diff --git a/.github/workflows/enforce-license-compliance.yml b/.github/workflows/enforce-license-compliance.yml new file mode 100644 index 0000000..86be741 --- /dev/null +++ b/.github/workflows/enforce-license-compliance.yml @@ -0,0 +1,14 @@ +name: Enforce License Compliance + +on: + pull_request: + branches: [main, master] + +jobs: + enforce-license-compliance: + runs-on: ubuntu-latest + steps: + - name: 'Enforce License Compliance' + uses: getsentry/action-enforce-license-compliance@57ba820387a1a9315a46115ee276b2968da51f3d # main + with: + fossa_api_key: ${{ secrets.FOSSA_API_KEY }} From af8d7ddd41682fabc46822216ec119fb0545e2a3 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 18 Jan 2024 14:07:11 -0800 Subject: [PATCH 2/5] fix: bump orb-tools to 12 --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6887459..c665389 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2.1 setup: true orbs: - orb-tools: circleci/orb-tools@11 + orb-tools: circleci/orb-tools@12 filters: &filters tags: @@ -34,4 +34,3 @@ workflows: pipeline-number: << pipeline.number >> vcs-type: << pipeline.project.type >> requires: [orb-tools/publish] - From b599944db6b213cb25d6880d5cb6bf16e22281b1 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 18 Jan 2024 14:09:05 -0800 Subject: [PATCH 3/5] fix: move - to _ --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c665389..b903ddd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,17 +20,17 @@ workflows: # release dev version of orb, for testing & possible publishing. # orb will be published as dev:alpha and dev:${CIRCLE_SHA1:0:7}. - orb-tools/publish: - enable-pr-comment: false + enable_pr_comment: false filters: *filters - orb-name: codecov/codecov - pub-type: dev - vcs-type: << pipeline.project.type >> + orb_name: codecov/codecov + pub_type: dev + vcs_type: << pipeline.project.type >> requires: [orb-tools/lint, orb-tools/review, orb-tools/pack] # trigger an integration workflow to test the # dev:${CIRCLE_SHA1:0:7} version of your orb - orb-tools/continue: filters: *filters - pipeline-number: << pipeline.number >> - vcs-type: << pipeline.project.type >> + pipeline_number: << pipeline.number >> + vcs_type: << pipeline.project.type >> requires: [orb-tools/publish] From 6efb7f9b4f5428f3f04fda7f305e9279d70c68ad Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 18 Jan 2024 14:09:42 -0800 Subject: [PATCH 4/5] fix: add orb_name to continue --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b903ddd..b939e9c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,6 +31,7 @@ workflows: # dev:${CIRCLE_SHA1:0:7} version of your orb - orb-tools/continue: filters: *filters + orb_name: codecov/codecov pipeline_number: << pipeline.number >> - vcs_type: << pipeline.project.type >> requires: [orb-tools/publish] + vcs_type: << pipeline.project.type >> From ba44bb9931681fdc47c41bea10e3969c9eff7a30 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 19 Jan 2024 12:32:19 -0800 Subject: [PATCH 5/5] fix: remove whitespace --- .circleci/test-deploy.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.circleci/test-deploy.yml b/.circleci/test-deploy.yml index 6e40532..8753a36 100644 --- a/.circleci/test-deploy.yml +++ b/.circleci/test-deploy.yml @@ -143,11 +143,9 @@ workflows: filters: *filters - test-frontend: filters: *filters - # - test-alpine: # filters: *filters # requires: [test-backend, test-frontend] - - test-linux: filters: *filters requires: [test-backend, test-frontend]