Review, lint & publish with GitHub Actions

The following steps introduce the GitHub actionarrow-up-right to your repository. This action sets up tessl so it can be used for any CI/CD use case, such as auto-publishing tiles, linting or running skill reviews on PRs, etc.

If you're migrating your skill into Tessl's registry, using the GitHub action will automatically link your tile to the repository, and all skills we previously indexed in the repository will be hidden and redirected to the tiles. See Tessl's setup-tessl GitHub actionarrow-up-right for additional options and information.

1

Create your workflow

Create your workflow file in .github/workflows for your desired action. For example, here's how you'd set up an auto-publish actionarrow-up-right.

2

Create an API Key

Log into Tesslarrow-up-right on web UI, then navigate to API keysarrow-up-right. Create a new API key. Copy the value as it will only be shown once.

3

Add your API Key as a Repository Secret

In GitHub, navigate to your repo Settings, select Secrets and variables, under actions find New Repository Secret. Provide the name: TESSL_TOKEN and the value is the Tessl API key you procured in the earlier step.

4

Run your workflow

Kick off your workflow by running the relevant trigger, or manually triggering from the UI if you enabled that in your workflow definition.

Last updated