Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check-ci-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

name: Check CI Workflows Sync

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
push:
paths:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/check-clang-format.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check ClangFormat Configuration

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
push:
paths:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:

- name: Set environment variables
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#setting-an-environment-variable
if [[ "${{ github.event.inputs.clang-format-version }}" == "" ]]; then
echo "CLANG_FORMAT_VERSION=$(task clang-format:get-version)" >>"$GITHUB_ENV"
else
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
--file="${{ steps.download-clang-format.outputs.name }}"

# Add installation to PATH:
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#adding-a-system-path
echo "${{ env.CLANG_FORMAT_INSTALL_PATH }}/clang_Linux_64bit" >>"$GITHUB_PATH"

- name: Download yq
Expand All @@ -125,7 +125,7 @@ jobs:
--file="${{ steps.download-yq.outputs.name }}"

# Add installation to PATH:
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#adding-a-system-path
echo "${{ env.YQ_INSTALL_PATH }}/yq" >>"$GITHUB_PATH"

- name: Check ClangFormat configuration file
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:

- name: Set environment variables
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#setting-an-environment-variable
if [[ "${{ github.event.inputs.clang-format-version }}" == "" ]]; then
echo "CLANG_FORMAT_VERSION=$(task clang-format:get-version)" >>"$GITHUB_ENV"
else
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
--file="${{ steps.download.outputs.name }}"

# Add installation to PATH:
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#adding-a-system-path
echo "${{ env.CLANG_FORMAT_INSTALL_PATH }}/clang_Linux_64bit" >>"$GITHUB_PATH"

- name: Check ClangFormat output
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:
steps:
- name: Set environment variables
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#setting-an-environment-variable
echo "CONVERSION_OUTPUT_PATH=${{ runner.temp }}/clang-format-js-object.txt" >>"$GITHUB_ENV"

- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-community-health-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

name: Check Community Health Files Sync

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
push:
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-config-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

name: Check Configuration Files Sync

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
push:
pull_request:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check Dependabot Configuration

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
push:
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-eslint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check ESLint Configuration

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
push:
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-files-task.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-files-task.md
name: Check Files

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
create:
push:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check-general-formatting-task.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-general-formatting-task.md
name: Check General Formatting

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
create:
push:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
steps:
- name: Set environment variables
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#setting-an-environment-variable
echo "EC_INSTALL_PATH=${{ runner.temp }}/editorconfig-checker" >>"$GITHUB_ENV"

- name: Checkout repository
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
"${{ env.EC_INSTALL_PATH }}/bin/ec"

# Add installation to PATH:
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#adding-a-system-path
echo "${{ env.EC_INSTALL_PATH }}/bin" >>"$GITHUB_PATH"

- name: Check formatting
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-issue-templates.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check Issue Templates

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
push:
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-javascript-task.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-javascript-task.md
name: Check JavaScript

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
create:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-labels.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check Label Configuration

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
push:
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-license.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-license.md
name: Check License

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
create:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-markdown-task.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-markdown-task.md
name: Check Markdown

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
create:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-markdownlint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check markdownlint Configuration

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
push:
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-npm-task.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-npm-task.md
name: Check npm

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
create:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-prettier-formatting-task.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-prettier-formatting-task.md
name: Check Prettier Formatting

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
create:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-python-task.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-python-task.md
name: Check Python

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
create:
push:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/check-shell-task.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-shell-task.md
name: Check Shell Scripts

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
create:
push:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
steps:
- name: Set environment variables
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#setting-an-environment-variable
echo "INSTALL_PATH=${{ runner.temp }}/shellcheck" >>"$GITHUB_ENV"

- name: Checkout repository
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
)"

# Add installation to PATH:
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#adding-a-system-path
echo "${{ env.INSTALL_PATH }}/$EXTRACTION_FOLDER" >>"$GITHUB_PATH"

- name: Run ShellCheck
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
steps:
- name: Set environment variables
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#setting-an-environment-variable
echo "SHFMT_INSTALL_PATH=${{ runner.temp }}/shfmt" >>"$GITHUB_ENV"

- name: Checkout repository
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
"${{ env.SHFMT_INSTALL_PATH }}/shfmt"

# Add installation to PATH:
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#adding-a-system-path
echo "${{ env.SHFMT_INSTALL_PATH }}" >>"$GITHUB_PATH"

- name: Format shell scripts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-taskfiles.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-taskfiles.md
name: Check Taskfiles

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
create:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-workflows-task.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-workflows-task.md
name: Check Workflows

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
push:
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-yaml-task.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-yaml-task.md
name: Check YAML

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
create:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spell-check-task.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/spell-check-task.md
name: Spell Check

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
create:
push:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-labels-npm.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/sync-labels-npm.md
name: Sync Labels

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
push:
paths:
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
steps:
- name: Set environment variables
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#setting-an-environment-variable
echo "MERGED_CONFIGURATION_PATH=${{ runner.temp }}/labels.yml" >>"$GITHUB_ENV"

- name: Determine whether to dry run
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-install-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
# Run every day at 03:00 UTC to catch breakage caused by external events
- cron: "0 3 * * *"
# workflow_dispatch event allows the workflow to be triggered manually.
# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#workflow_dispatch
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows#workflow_dispatch
workflow_dispatch:

env:
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
- name: Set install path environment variable
shell: bash
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#setting-an-environment-variable
echo "BINDIR=${{ runner.temp }}/custom-installation-folder" >>"$GITHUB_ENV"

- name: Download script artifact
Expand Down Expand Up @@ -251,7 +251,7 @@ jobs:
- name: Set install path environment variables
shell: bash
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#setting-an-environment-variable
FIRST_INSTALLATION_FOLDER="first-installation-folder"
echo "FIRST_INSTALLATION_FOLDER=${FIRST_INSTALLATION_FOLDER}" >>"$GITHUB_ENV"
echo "FIRST_BINDIR=${{ runner.temp }}/${FIRST_INSTALLATION_FOLDER}" >>"$GITHUB_ENV"
Expand Down Expand Up @@ -289,7 +289,7 @@ jobs:
- name: Add first installation to PATH
shell: bash
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
# See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#adding-a-system-path
echo "${{ env.FIRST_BINDIR }}" >>"$GITHUB_PATH"

- name: Check script output with previous installation in PATH (non-Windows)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-python-poetry-task.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/test-python-poetry-task.md
name: Test Python

# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows
on:
create:
push:
Expand Down
2 changes: 1 addition & 1 deletion issue-templates/template-choosers/github-actions/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Issue template chooser configuration for GitHub Actions actions

This is the issue template chooser configuration for use in [GitHub Actions action](https://docs.github.com/actions/creating-actions/about-custom-actions) repositories.
This is the issue template chooser configuration for use in [GitHub Actions action](https://docs.github.com/actions/concepts/workflows-and-actions/custom-actions) repositories.

## Installation

Expand Down
4 changes: 2 additions & 2 deletions workflow-templates/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GitHub Actions workflow templates

A collection of reusable [GitHub Actions workflows](https://docs.github.com/actions/quickstart#creating-your-first-workflow).
A collection of reusable [GitHub Actions workflows](https://docs.github.com/actions/get-started/quickstart#creating-your-first-workflow).

## Documentation

Expand All @@ -25,7 +25,7 @@ Addition of, or requests for, any additional workflows that can be reusable betw

Dependabot is used to [check for outdated action versions](https://docs.github.com/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot) used in the template workflows.

Dependabot's PRs will occasionally try to pin to the patch version of the action (e.g., updating `uses: foo/bar@v1` to `uses: foo/bar@v2.3.4`). When the action author has [provided a major version ref](https://docs.github.com/actions/creating-actions/about-custom-actions#using-release-management-for-actions), use that instead (e.g., `uses: foo/bar@v2`). Once the major version has been updated in the workflow, Dependabot should not submit an update PR again until the next major version bump.
Dependabot's PRs will occasionally try to pin to the patch version of the action (e.g., updating `uses: foo/bar@v1` to `uses: foo/bar@v2.3.4`). When the action author has [provided a major version ref](https://docs.github.com/actions/concepts/workflows-and-actions/custom-actions#using-release-management-for-actions), use that instead (e.g., `uses: foo/bar@v2`). Once the major version has been updated in the workflow, Dependabot should not submit an update PR again until the next major version bump.

---

Expand Down
Loading
Loading