Skip to content

Commit 96454d5

Browse files
committed
ci: rename lint workflow
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent 023a57f commit 96454d5

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/build-pull-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
with:
1717
cache-read-only: true
1818

19-
link-check:
20-
uses: ./.github/workflows/reusable-link-check.yml
19+
lint:
20+
uses: ./.github/workflows/reusable-lint-check.yml
2121

2222
required-status-check:
2323
if: always()
2424
needs:
2525
- common
26-
- link-check # wait for link check to complete, but don't require it to pass for merging
26+
- lint # wait for lint to complete, but don't require it to pass for merging
2727
runs-on: ubuntu-latest
2828
steps:
2929
# The reusable workflow success depends on all its jobs passing
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Reusable - Link check
1+
name: Reusable - Lint check
22

33
on:
44
workflow_call:
@@ -7,7 +7,7 @@ permissions:
77
contents: read
88

99
jobs:
10-
link-check:
10+
lint-check:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -16,7 +16,7 @@ jobs:
1616

1717
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
1818

19-
- name: Link check for pull requests
19+
- name: Lint for pull requests
2020
if: github.event_name == 'pull_request'
2121
env:
2222
GITHUB_TOKEN: ${{ github.token }}
@@ -26,7 +26,7 @@ jobs:
2626
PR_HEAD_REPO: ${{ github.event.pull_request.head.repo.full_name }}
2727
run: mise run lint
2828

29-
- name: Link check for pushes and scheduled workflows
29+
- name: Lint for pushes and scheduled workflows
3030
if: github.event_name != 'pull_request'
3131
env:
3232
GITHUB_TOKEN: ${{ github.token }}

mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
[tools]
2+
3+
# Linters
24
"github:grafana/flint" = "0.21.0"
35
lychee = "0.23.0"
46

0 commit comments

Comments
 (0)