Skip to content

Commit 99f1c86

Browse files
committed
Use standardized filename for "Check Workflows" workflow
This is the template workflow filename, which is intended to serve as a unique identifier, and thus must be a bit more verbose.
1 parent 2109b90 commit 99f1c86

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,35 @@
1+
# Source: https://github.com/arduino/tooling-project-assets/blob/master/workflow-templates/check-workflows-task.md
12
name: Check Workflows
23

34
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
45
on:
56
push:
67
paths:
7-
- ".github/workflows/lint-config.yml"
88
- ".github/workflows/*.ya?ml"
99
- "Taskfile.ya?ml"
1010
pull_request:
1111
paths:
12-
- ".github/workflows/lint-config.yml"
1312
- ".github/workflows/*.ya?ml"
1413
- "Taskfile.ya?ml"
1514
schedule:
16-
# Run every Tuesday at 03:00 UTC to catch breakage caused by changes to the GitHub Actions workflow schema
15+
# Run every Tuesday at 8 AM UTC to catch breakage resulting from changes to the JSON schema.
1716
- cron: "0 8 * * TUE"
1817
workflow_dispatch:
1918
repository_dispatch:
2019

2120
jobs:
22-
lint:
21+
validate:
2322
runs-on: ubuntu-latest
23+
2424
steps:
25-
- name: Checkout local repository
25+
- name: Checkout repository
2626
uses: actions/checkout@v2
2727

28-
- name: Install Taskfile
28+
- name: Install Task
2929
uses: arduino/setup-task@v1
3030
with:
3131
repo-token: ${{ secrets.GITHUB_TOKEN }}
3232
version: 3.x
3333

34-
- name: Lint configuration files
34+
- name: Validate workflows
3535
run: task --silent ci:validate
36-

0 commit comments

Comments
 (0)