From 190b0132a52114a5b209c1cd9db77547eab44b4d Mon Sep 17 00:00:00 2001 From: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> Date: Sun, 16 Jun 2024 18:55:49 -0400 Subject: [PATCH 1/7] Add and enforces Guard workflow (#31) * adds the minor release template * Adds Public Guard Workflow * adds guard workflow * WIP * WIP * Adds linter workflow * WIP * WIP * WIP --- .github/workflows/guard.yml | 18 ++++++++++++++ .github/workflows/guard_template.yml | 36 ++++++++++++++++++++++++++++ .github/workflows/super-linter.yml | 33 +++++++++++++++++++++++++ README.md | 12 +++++++--- profile/README.md | 8 ++++--- 5 files changed, 101 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/guard.yml create mode 100644 .github/workflows/guard_template.yml create mode 100644 .github/workflows/super-linter.yml diff --git a/.github/workflows/guard.yml b/.github/workflows/guard.yml new file mode 100644 index 0000000..2835991 --- /dev/null +++ b/.github/workflows/guard.yml @@ -0,0 +1,18 @@ +--- +name: Guard Main Branch + +on: + pull_request: + types: + - auto_merge_enabled + branches: + - main + merge_group: + +permissions: + contents: read + +jobs: + guardian-jobs: + uses: ec-intl/.github/.github/workflows/guard_template.yml@cm/add-public-workflow + secrets: inherit diff --git a/.github/workflows/guard_template.yml b/.github/workflows/guard_template.yml new file mode 100644 index 0000000..14164e2 --- /dev/null +++ b/.github/workflows/guard_template.yml @@ -0,0 +1,36 @@ +--- +name: Guard Template + +env: + HEAD: ${{ github.event.pull_request.head.ref }} + +on: + workflow_call: + +jobs: + branch-check: + runs-on: ubuntu-latest + + steps: + - name: Preamble + run: | + echo "🎉 The job was triggered by a ${{ github.event_name }} event." + echo "🐧 This job is now running on a ${{ runner.os }} server." + echo "🔎 Branch is ${{ github.ref }} in ${{ github.repository }}." + + - name: Check out repository code + uses: actions/checkout@v4 + + - name: Guard the main branch + run: | + if [ "$HEAD" != "staging" ] && [ "$HEAD" != "" ]; then + echo "Pull requests to main must come from staging branch." + exit 1 + fi + echo "Current pull request from staging to main is valid." + + - name: Notify + run: | + echo "📣 The job has been completed." + echo "🔔 The main branch is protected." + echo "🍏 This job's status is ${{ job.status }}." diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml new file mode 100644 index 0000000..03b9be3 --- /dev/null +++ b/.github/workflows/super-linter.yml @@ -0,0 +1,33 @@ +# This workflow executes several linters on changed files based on languages used in your code base whenever +# you push a code or open a pull request. +# +# You can adjust the behavior by modifying this file. +# For more information, see: +# https://github.com/github/super-linter +name: Lint Code Base + +on: + pull_request: + types: [auto_merge_enabled] + branches: [staging] + merge_group: + +permissions: + contents: read + checks: read + +jobs: + run-lint: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + # Full git history is needed to get a proper list of changed files within `super-linter` + fetch-depth: 0 + + - name: Lint Code Base + uses: github/super-linter@v5 + env: + VALIDATE_ALL_CODEBASE: true + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index ee77277..747b5e5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,13 @@ -# .github +# ✨ Welcome to ECI's .GitHub Repository ✨ -👋 Welcome to our .github repository. We hope you enjoy your stay! 👋 +## Status Report + +[![Guard](https://github.com/ec-intl/.github/actions/workflows/guard.yml/badge.svg)](https://github.com/ec-intl/template-repository/actions/workflows/guard.yml) +[![Lint Code Base](https://github.com/ec-intl/.github/actions/workflows/super-linter.yml/badge.svg)](https://github.com/ec-intl/template-repository/actions/workflows/super-linter.yml) + +👋 We hope you enjoy your stay 👋 Here you will find our issue and PR templates. -If you want more information about us, please visit [our website.](https://ec-intl.github.io/) +If you want more information about us, please visit [our site.](https://ec-intl.github.io/). + diff --git a/profile/README.md b/profile/README.md index e6d8977..2b803c1 100644 --- a/profile/README.md +++ b/profile/README.md @@ -1,13 +1,15 @@ -# Elizabeth Consulting International Inc. +# Elizabeth Consulting International Inc 👋 Hi there 👋, Welcome to Elizabeth Consulting International's GitHub site. Our code is developed in public and private repositories on GitHub. ## About ECI -Elizabeth Consulting International (ec-intl) is a professional consulting services firm registered in Castries, Saint Lucia. We bring value to our clients by streamlining and automating their current processes; by helping them design new, competitive products and services that exploit modern technological advances; and by building resilience into their business model through risk and vulnerability assessments and adaptation and mitigation planing. +Elizabeth Consulting International (ec-intl) is a professional consulting services firm registered in Castries, Saint Lucia. -## :hammer_and_wrench: Some of the 👩‍💻 Programming Languages used at our Company. +We bring value to our clients by streamlining and automating their current processes; by helping them design new, competitive products and services that exploit modern technological advances; and by building resilience into their business model through risk and vulnerability assessments and adaptation and mitigation planing. + +## :hammer_and_wrench: Some of the 👩‍💻 Programming Languages used at our Company
HTML  JavaScript  From c035390c1d0054314aee9f62de7ada5fd3109b86 Mon Sep 17 00:00:00 2001 From: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> Date: Sun, 16 Jun 2024 19:01:44 -0400 Subject: [PATCH 2/7] Update super-linter.yml (#33) * Update super-linter.yml * update workflow version --- .github/workflows/guard.yml | 2 +- .github/workflows/super-linter.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/guard.yml b/.github/workflows/guard.yml index 2835991..7b72b5a 100644 --- a/.github/workflows/guard.yml +++ b/.github/workflows/guard.yml @@ -14,5 +14,5 @@ permissions: jobs: guardian-jobs: - uses: ec-intl/.github/.github/workflows/guard_template.yml@cm/add-public-workflow + uses: ec-intl/.github/.github/workflows/guard_template.yml@staging secrets: inherit diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 03b9be3..bdc37d3 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -30,4 +30,4 @@ jobs: uses: github/super-linter@v5 env: VALIDATE_ALL_CODEBASE: true - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 71967cc0e5a317747288eda7355bf80c9ca2189f Mon Sep 17 00:00:00 2001 From: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> Date: Sun, 16 Jun 2024 19:13:00 -0400 Subject: [PATCH 3/7] Bump workflow version (#34) * Add and enforces Guard workflow (#31) (#32) * Add and enforces Guard workflow (#31) * adds the minor release template * Adds Public Guard Workflow * adds guard workflow * WIP * WIP * Adds linter workflow * WIP * WIP * WIP * Update super-linter.yml (#33) * Update super-linter.yml * update workflow version * Bump workflow version --- .github/workflows/guard.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/guard.yml b/.github/workflows/guard.yml index 7b72b5a..118dfbb 100644 --- a/.github/workflows/guard.yml +++ b/.github/workflows/guard.yml @@ -14,5 +14,5 @@ permissions: jobs: guardian-jobs: - uses: ec-intl/.github/.github/workflows/guard_template.yml@staging + uses: ec-intl/.github/.github/workflows/guard_template.yml@v1.0.0 secrets: inherit From f3dfa9db72ac48c4637764d73854c74faf335739 Mon Sep 17 00:00:00 2001 From: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> Date: Wed, 19 Jun 2024 09:31:07 -0400 Subject: [PATCH 4/7] chore: Move tasklists to the bottom of the issue. (#37) * Bump the workflow version. (#35) * Add and enforces Guard workflow (#31) * adds the minor release template * Adds Public Guard Workflow * adds guard workflow * WIP * WIP * Adds linter workflow * WIP * WIP * WIP * Update super-linter.yml (#33) * Update super-linter.yml * update workflow version * Bump workflow version (#34) * Add and enforces Guard workflow (#31) (#32) * Add and enforces Guard workflow (#31) * adds the minor release template * Adds Public Guard Workflow * adds guard workflow * WIP * WIP * Adds linter workflow * WIP * WIP * WIP * Update super-linter.yml (#33) * Update super-linter.yml * update workflow version * Bump workflow version * chore: Move tasklists to the bottom of the issue. * Adds FM to cc list --- .github/ISSUE_TEMPLATE/minor_release.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/minor_release.md b/.github/ISSUE_TEMPLATE/minor_release.md index 33813d2..c7e78a5 100644 --- a/.github/ISSUE_TEMPLATE/minor_release.md +++ b/.github/ISSUE_TEMPLATE/minor_release.md @@ -57,6 +57,17 @@ Lead: What do I need to have? --> +### Delivery Approach & Schedule + + +### CC + +- @cmbengue-ec-intl +- @ECImingee +- @Azendae-Popo + ### Key Results and Deliverables @@ -77,15 +88,5 @@ Lead: ``` ```[tasklist] -### Operations Tasks +### Operations/Maintenance Tasks ``` - -### Delivery Approach & Schedule - - -### CC - -- @cmbengue-ec-intl -- @Azendae-Popo From 7e667de0dce394a13216f3827c67dee47239da27 Mon Sep 17 00:00:00 2001 From: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> Date: Wed, 19 Jun 2024 09:31:27 -0400 Subject: [PATCH 5/7] chore: Update major_release.md template (#38) * Bump the workflow version. (#35) * Add and enforces Guard workflow (#31) * adds the minor release template * Adds Public Guard Workflow * adds guard workflow * WIP * WIP * Adds linter workflow * WIP * WIP * WIP * Update super-linter.yml (#33) * Update super-linter.yml * update workflow version * Bump workflow version (#34) * Add and enforces Guard workflow (#31) (#32) * Add and enforces Guard workflow (#31) * adds the minor release template * Adds Public Guard Workflow * adds guard workflow * WIP * WIP * Adds linter workflow * WIP * WIP * WIP * Update super-linter.yml (#33) * Update super-linter.yml * update workflow version * Bump workflow version * chore: Update major_release.md template --- .github/ISSUE_TEMPLATE/major_release.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/major_release.md b/.github/ISSUE_TEMPLATE/major_release.md index b5a139a..fcd922f 100644 --- a/.github/ISSUE_TEMPLATE/major_release.md +++ b/.github/ISSUE_TEMPLATE/major_release.md @@ -57,17 +57,6 @@ Lead: What do I need to have? --> -### Key Results and Deliverables - - -```[tasklist] -### ScopeofWork vX.Y.0 -- [ ] ScopeofWork vX.Y.0 Development -- [ ] ScopeofWork vX.Y.0 Research -- [ ] ScopeofWork vX.Y.0 Operations -- [ ] ScopeofWork vX.Y.0 QA/QC/QE -``` - ### Delivery Approach & Schedule + +```[tasklist] +### ScopeofWork vX.Y.0 +- [ ] ScopeofWork vX.Y.0 Development +- [ ] ScopeofWork vX.Y.0 Research +- [ ] ScopeofWork vX.Y.0 Operations +- [ ] ScopeofWork vX.Y.0 QA/QC/QE +``` From 76a8602b782420f5e859c3d5c7efecff103e1518 Mon Sep 17 00:00:00 2001 From: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> Date: Fri, 8 Nov 2024 09:59:31 -0400 Subject: [PATCH 6/7] Update issue templates (#40) * Bump the workflow version. (#35) * Add and enforces Guard workflow (#31) * adds the minor release template * Adds Public Guard Workflow * adds guard workflow * WIP * WIP * Adds linter workflow * WIP * WIP * WIP * Update super-linter.yml (#33) * Update super-linter.yml * update workflow version * Bump workflow version (#34) * Add and enforces Guard workflow (#31) (#32) * Add and enforces Guard workflow (#31) * adds the minor release template * Adds Public Guard Workflow * adds guard workflow * WIP * WIP * Adds linter workflow * WIP * WIP * WIP * Update super-linter.yml (#33) * Update super-linter.yml * update workflow version * Bump workflow version * Updates the minor and major issue templates (#39) * Add and enforces Guard workflow (#31) * adds the minor release template * Adds Public Guard Workflow * adds guard workflow * WIP * WIP * Adds linter workflow * WIP * WIP * WIP * Update super-linter.yml (#33) * Update super-linter.yml * update workflow version * Bump workflow version (#34) * Add and enforces Guard workflow (#31) (#32) * Add and enforces Guard workflow (#31) * adds the minor release template * Adds Public Guard Workflow * adds guard workflow * WIP * WIP * Adds linter workflow * WIP * WIP * WIP * Update super-linter.yml (#33) * Update super-linter.yml * update workflow version * Bump workflow version * chore: Move tasklists to the bottom of the issue. (#37) * Bump the workflow version. (#35) * Add and enforces Guard workflow (#31) * adds the minor release template * Adds Public Guard Workflow * adds guard workflow * WIP * WIP * Adds linter workflow * WIP * WIP * WIP * Update super-linter.yml (#33) * Update super-linter.yml * update workflow version * Bump workflow version (#34) * Add and enforces Guard workflow (#31) (#32) * Add and enforces Guard workflow (#31) * adds the minor release template * Adds Public Guard Workflow * adds guard workflow * WIP * WIP * Adds linter workflow * WIP * WIP * WIP * Update super-linter.yml (#33) * Update super-linter.yml * update workflow version * Bump workflow version * chore: Move tasklists to the bottom of the issue. * Adds FM to cc list * chore: Update major_release.md template (#38) * Bump the workflow version. (#35) * Add and enforces Guard workflow (#31) * adds the minor release template * Adds Public Guard Workflow * adds guard workflow * WIP * WIP * Adds linter workflow * WIP * WIP * WIP * Update super-linter.yml (#33) * Update super-linter.yml * update workflow version * Bump workflow version (#34) * Add and enforces Guard workflow (#31) (#32) * Add and enforces Guard workflow (#31) * adds the minor release template * Adds Public Guard Workflow * adds guard workflow * WIP * WIP * Adds linter workflow * WIP * WIP * WIP * Update super-linter.yml (#33) * Update super-linter.yml * update workflow version * Bump workflow version * chore: Update major_release.md template * Update major_release.md * Update minor_release.md --- .github/ISSUE_TEMPLATE/major_release.md | 2 -- .github/ISSUE_TEMPLATE/minor_release.md | 2 -- 2 files changed, 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/major_release.md b/.github/ISSUE_TEMPLATE/major_release.md index fcd922f..d4b6058 100644 --- a/.github/ISSUE_TEMPLATE/major_release.md +++ b/.github/ISSUE_TEMPLATE/major_release.md @@ -65,8 +65,6 @@ Lead: ### CC - @cmbengue-ec-intl -- @ECIMingee -- @Azendae-Popo ### Key Results and Deliverables diff --git a/.github/ISSUE_TEMPLATE/minor_release.md b/.github/ISSUE_TEMPLATE/minor_release.md index c7e78a5..407a332 100644 --- a/.github/ISSUE_TEMPLATE/minor_release.md +++ b/.github/ISSUE_TEMPLATE/minor_release.md @@ -65,8 +65,6 @@ Lead: ### CC - @cmbengue-ec-intl -- @ECImingee -- @Azendae-Popo ### Key Results and Deliverables From 207200caab5bebb8c0ad8b3d1e0ca1c3658d5f5b Mon Sep 17 00:00:00 2001 From: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> Date: Tue, 18 Mar 2025 16:47:35 -0400 Subject: [PATCH 7/7] removes task lists from all issue templates (#43) --- .github/ISSUE_TEMPLATE/major_release.md | 3 +-- .github/ISSUE_TEMPLATE/minor_release.md | 10 ---------- .github/ISSUE_TEMPLATE/ordinary_task.md | 11 +++++++++-- 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/major_release.md b/.github/ISSUE_TEMPLATE/major_release.md index d4b6058..46a1b91 100644 --- a/.github/ISSUE_TEMPLATE/major_release.md +++ b/.github/ISSUE_TEMPLATE/major_release.md @@ -69,10 +69,9 @@ Lead: ### Key Results and Deliverables -```[tasklist] ### ScopeofWork vX.Y.0 + - [ ] ScopeofWork vX.Y.0 Development - [ ] ScopeofWork vX.Y.0 Research - [ ] ScopeofWork vX.Y.0 Operations - [ ] ScopeofWork vX.Y.0 QA/QC/QE -``` diff --git a/.github/ISSUE_TEMPLATE/minor_release.md b/.github/ISSUE_TEMPLATE/minor_release.md index 407a332..8374801 100644 --- a/.github/ISSUE_TEMPLATE/minor_release.md +++ b/.github/ISSUE_TEMPLATE/minor_release.md @@ -69,22 +69,12 @@ Lead: ### Key Results and Deliverables -```[tasklist] ### Preliminary/Interface Tasks -``` -```[tasklist] ### Research Tasks -``` -```[tasklist] ### Development Tasks -``` -```[tasklist] ### Quality Tasks -``` -```[tasklist] ### Operations/Maintenance Tasks -``` diff --git a/.github/ISSUE_TEMPLATE/ordinary_task.md b/.github/ISSUE_TEMPLATE/ordinary_task.md index ca69930..11e7e31 100644 --- a/.github/ISSUE_TEMPLATE/ordinary_task.md +++ b/.github/ISSUE_TEMPLATE/ordinary_task.md @@ -10,9 +10,16 @@ title: Ordinary Task What benefits does it bring? --> -```[tasklist] ### Ordinary Task -``` + +- [ ] Task 1 +