Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

perf: workflows

liyasthomas94fcc0a6a9ae
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
index 4ce1a48fe..05cd7762b 100644
--- a/.github/FUNDING.yml
+++ b/.github/FUNDING.yml
@@ -1,4 +1,2 @@
github: hoppscotch
open_collective: hoppscotch
-patreon: liyasthomas
-custom: https://www.paypal.me/liyascthomas
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 2ab257426..2188e0cc7 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -1,62 +1,61 @@
-# For most projects, this workflow file will not need changing; you simply need
-# to commit it to your repository.
-#
-# You may wish to alter this file to override the set of languages analyzed,
-# or to provide custom queries or build logic.
-name: "CodeQL"
+name: "Code Scanning - Action"
on:
push:
branches: [main]
pull_request:
- # The branches below must be a subset of the branches above
branches: [main]
schedule:
+ # ┌───────────── minute (0 - 59)
+ # │ ┌───────────── hour (0 - 23)
+ # │ │ ┌───────────── day of the month (1 - 31)
+ # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
+ # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
+ # │ │ │ │ │
+ # │ │ │ │ │
+ # │ │ │ │ │
+ # * * * * *
- cron: '0 0 * * 6'
jobs:
- analyze:
- name: Analyze
+ CodeQL-Build:
+ # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
runs-on: ubuntu-latest
- strategy:
- fail-fast: false
- matrix:
- # Override automatic language detection by changing the below list
- # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
- language: ['javascript']
- # Learn more...
- # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
+ permissions:
+ # required for all workflows
+ security-events: write
+
+ # only required for workflows in private repositories
+ actions: read
+ contents: read
steps:
- - name: Checkout repository
- uses: actions/checkout@v2
-
- # Initializes the CodeQL tools for scanning.
- - name: Initialize CodeQL
- uses: github/codeql-action/init@v1
- with:
- languages: ${{ matrix.language }}
- # If you wish to specify custom queries, you can do so here or in a config file.
- # By default, queries listed here will override any specified in a config file.
- # Prefix the list here with "+" to use these queries and those in the config file.
- # queries: ./path/to/local/query, your-org/your-repo/queries@main
-
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
- # If this step fails, then you should remove it and run the build manually (see below)
- - name: Autobuild
- uses: github/codeql-action/autobuild@v1
-
- # ℹ️ Command-line programs to run using the OS shell.
- # 📚 https://git.io/JvXDl
-
- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
- # and modify them (or add more) to build your code if your project
- # uses a compiled language
-
- #- run: |
- # make bootstrap
- # make release
-
- - name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v1
+ - name: Checkout repository
+ uses: actions/checkout@v2
+
+ # Initializes the CodeQL tools for scanning.
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v1
+ # Override language selection by uncommenting this and choosing your languages
+ # with:
+ # languages: go, javascript, csharp, python, cpp, java
+
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
+ # If this step fails, then you should remove it and run the build manually (see below).
+ - name: Autobuild
+ uses: github/codeql-action/autobuild@v1
+
+ # ℹ️ Command-line programs to run using the OS shell.
+ # 📚 https://git.io/JvXDl
+
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following
+ # three lines and modify them (or add more) to build your code if your
+ # project uses a compiled language
+
+ #- run: |
+ # make bootstrap
+ # make release
+
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v1
diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/deploy-prod.yml
similarity index 70%
rename from .github/workflows/firebase-hosting-merge.yml
rename to .github/workflows/deploy-prod.yml
index 9eaac7d60..3b2f84684 100644
--- a/.github/workflows/firebase-hosting-merge.yml
+++ b/.github/workflows/deploy-prod.yml
@@ -1,13 +1,12 @@
-# This file was auto-generated by the Firebase CLI
-# https://github.com/firebase/firebase-tools
+name: Deploy to Live Channel
-name: Deploy to Firebase Hosting on merge
-'on':
+on:
push:
branches:
- main
+
jobs:
- build_and_deploy:
+ deploy_live_website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml
index dc3abafa3..a5a48f473 100644
--- a/.github/workflows/publish-docker.yml
+++ b/.github/workflows/publish-docker.yml
@@ -1,8 +1,3 @@
-# This workflow uses actions that are not certified by GitHub.
-# They are provided by a third-party and are governed by
-# separate terms of service, privacy policy, and support
-# documentation.
-
name: Publish Docker image
on:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index d4317677d..cc39c011f 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
diff --git a/README.md b/README.md
index 1136b2a56..87b58d5bf 100644
--- a/README.md
+++ b/README.md
@@ -263,8 +263,8 @@ _Add-ons are developed and maintained under **[Hoppscotch Organization](https://
🚚 **Bulk Edit:** Edit key-value pairs in bulk.
- Entries are separated by newline
-- Keys and values are separated by :
-- Prepend // to any row you want to add but keep disabled
+- Keys and values are separated by `:`
+- Prepend `//` to any row you want to add but keep disabled
**For more features, please read our [documentation](https://docs.hoppscotch.io).**