Giter Club home page Giter Club logo

code-integrity-actions's Introduction

Jscrambler Code Integrity Actions

This action integrates Jscrambler Code Integrity Protection into your GitHub build workflow. It automates the protection of your JavaScript Applications so you can run it whenever a new version of your application is built.

Jscrambler Code Integrity protects your application against automated abuse, piracy, tampering, and code theft with enterprise-grade JavaScript obfuscation, code locks, and self-defensive techniques.

A Jscrambler account is required to use this Action.

If you haven’t tried Jscrambler Code Integrity product, we advise you to read our 101 First Use guide

Inputs

First, you need to download the "No Secrets" Jscrambler Settings File and place it into your GitHub application repository.

The following inputs are small subset of the fields you can find in above Settings file, and for that reason they are all optional:

  • access-key and secret-key: User keys for authentication. For security reasons, you should use the GitHub Secrets to securely store secret and access key.
  • application-id: User application ID
  • jscrambler-config-path (default: jscrambler.json): Relative path from the root's repository to JSON with Jscrambler configuration, including protection parameters
  • files-src: Paths of source files to protect. Glob patterns allowed. Use multiline strings to specify multiple files.
  • files-dest: Path of protected output
  • jscrambler-version: Jscrambler version to use
  • protocol, host, port and base-path: Alternative path of protection server
  • source-maps: If you want to generate source-maps
  • source-maps-source-content (default: true): If you want to include the original source code in the source map file
  • source-maps-output-path: Relative path from the root's repository of output source maps
  • symbol-table-output-path: Relative path from the root's repository of output symbol table
  • debug-mode: Whether to turn on debug mode

Outputs

Jscrambler generates a protection-id as an output

Usage

Place the "No Secrets" Jscrambler Settings File - jscrambler.json - into the root of your GitHub Application Repository, and then add the following steps to your GitHub Workflow:

steps:
- uses: jscrambler/code-integrity-actions/protect@v6
  with:
    secret-key: ${{ secrets.JSCRAMBLER_SECRET_KEY }}
    access-key: ${{ secrets.JSCRAMBLER_ACCESS_KEY }}
    application-id: ${{ secrets.JSCRAMBLER_APPLICATION_ID }}

Please refer to the following link for the complete integration guide.

code-integrity-actions's People

Contributors

luiscubal avatar vitorveiga avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

sfazzio886

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.