per1234 8aba048b49 Switch to version of the "Sync Labels" workflow for npm-managed projects
The "Sync Labels" workflow was originally developed with Arduino firmware repositories in mind. Those projects don't
have a lot of existing infrastructure and, since they are intended to be very approachable, the impact of adding
additional non-firmware files or folders (especially in the root) must be carefully considered.

In that context, a self-contained workflow is desirable. However, the situation is different in the inherently more
complex and infrastructure rich tooling projects, which are typically consumed only as a binary by users.

For this reason, an alternative standardized version of the "Sync Labels" workflow was produced, which utilizes npm to
manage its tool dependencies.

The code dependencies of this project and the code infrastructure are already managed via npm, which means the switch to
this superior version of the workflow can be made without the need to add any additional infrastructure.

This provides some significant benefits:

- Controlled updates via Dependabot PRs instead of being subject to immediate breakage resulting from a new tool release
- Enables automated vulnerability alerts

This is especially important for the github-label-sync tool, since it is making irreversible writes to the GitHub
repository.
2022-12-16 15:44:08 -08:00
2021-12-02 16:14:42 +01:00
2021-05-03 22:24:36 -07:00
2022-10-10 23:12:39 +02:00

arduino/setup-task

Test TypeScript status Check TypeScript status Check TypeScript Configuration status Check npm status Integration Tests status Check Action Metadata status Check Prettier Formatting status Check Markdown status Spell Check status Check License status Check npm Dependencies status Sync Labels status

A GitHub Actions action that makes the Task task runner / build tool available to use in your workflow.

Inputs

version

The version of Task to install. Can be an exact version (e.g., 3.4.2) or a version range (e.g., 3.x).

Default: 3.x

repo-token

(Optional) GitHub access token used for GitHub API requests. Heavy usage of the action can result in workflow run failures caused by rate limiting. GitHub provides a more generous allowance for Authenticated API requests.

It will be convenient to use ${{ secrets.GITHUB_TOKEN }}.

Usage

To get the action's default version of Task just add this step:

- name: Install Task
  uses: arduino/setup-task@v1

If you want to pin a major or minor version you can use the .x wildcard:

- name: Install Task
  uses: arduino/setup-task@v1
  with:
    version: 2.x

To pin the exact version:

- name: Install Task
  uses: arduino/setup-task@v1
  with:
    version: 2.6.1

Security

If you think you found a vulnerability or other security-related bug in this project, please read our security policy and report the bug to our Security Team 🛡️ Thank you!

e-mail contact: security@arduino.cc

Description
GitHub Actions action to make Task available for use in your workflow.
Readme GPL-3.0 6.1 MiB
Languages
TypeScript 97.9%
JavaScript 2.1%