Yong Yan 66f87f9dfe Add clj-watson starter workflow (#1460)
* Add clj-watson starter workflow

* update permissions

* update to latest release

* Update clj-watson-action to official release

* Update code-scanning/clj-watson.yml

Co-authored-by: Matheus Bernardes <12648924+mthbernardes@users.noreply.github.com>

* Update code-scanning/clj-watson.yml

Co-authored-by: Matheus Bernardes <12648924+mthbernardes@users.noreply.github.com>

* update categories

* update categories

* Update code-scanning/clj-watson.yml

Co-authored-by: Matheus Bernardes <12648924+mthbernardes@users.noreply.github.com>

* Update code-scanning/properties/clj-watson.properties.json

Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>

* Update code-scanning/clj-watson.yml

Co-authored-by: Matheus Bernardes <12648924+mthbernardes@users.noreply.github.com>

* add comments to yml file

* Update clj-watson.properties.json

* use codeql-action/upload-sarif v2

Co-authored-by: Matheus Bernardes <12648924+mthbernardes@users.noreply.github.com>
Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
2022-04-12 10:11:27 +05:30
2022-03-28 22:40:48 +05:30
2020-03-21 14:53:31 +00:00
2020-05-20 10:00:39 -07:00
2021-07-16 12:30:45 -07:00
2020-11-24 13:39:40 -08:00
2021-09-24 18:05:34 -04:00

Starter Workflows

These are the workflow files for helping people get started with GitHub Actions. They're presented whenever you start to create a new GitHub Actions workflow.

If you want to get started with GitHub Actions, you can use these starter workflows by clicking the "Actions" tab in the repository where you want to create a workflow.

Directory structure

Each workflow must be written in YAML and have a .yml extension. They also need a corresponding .properties.json file that contains extra metadata about the workflow (this is displayed in the GitHub.com UI).

For example: ci/django.yml and ci/properties/django.properties.json.

Valid properties

  • name: the name shown in onboarding. This property is unique within the repository.
  • description: the description shown in onboarding
  • iconName: the icon name in the relevant folder, for example, django should have an icon icons/django.svg. Only SVG is supported at this time. Another option is to use octicon. The format to use an octicon is octicon <<icon name>>. Example: octicon person
  • creator: creator of the template shown in onboarding. All the workflow templates from an author will have the same creator field.
  • categories: the categories that it will be shown under. Choose at least one category from the list here. Further, choose the categories from the list of languages available here. When a user views the available templates, those templates that match the same language will feature more prominently.

Categories

  • continuous-integration
  • deployment
  • testing
  • code-quality
  • code-review
  • dependency-management
  • monitoring
  • Automation
  • utilities

Variables

These variables can be placed in the starter workflow and will be substituted as detailed below:

  • $default-branch: will substitute the branch from the repository, for example main and master
  • $protected-branches: will substitute any protected branches from the repository
  • $cron-daily: will substitute a valid but random time within the day
Languages
TypeScript 100%