Skip to content

Commit a3dab3c

Browse files
committed
ci: rename lint workflow
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent 97785f9 commit a3dab3c

4 files changed

Lines changed: 13 additions & 11 deletions

File tree

.github/workflows/build-daily.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ permissions:
1010
contents: read
1111

1212
jobs:
13-
link-check:
14-
uses: ./.github/workflows/reusable-link-check.yml
13+
lint:
14+
uses: ./.github/workflows/reusable-lint-check.yml
1515

1616
publish-snapshots:
1717
runs-on: ubuntu-24.04
@@ -42,13 +42,13 @@ jobs:
4242
contents: read
4343
issues: write
4444
needs:
45-
- link-check
45+
- lint
4646
- publish-snapshots
4747
if: always()
4848
uses: ./.github/workflows/reusable-workflow-notification.yml
4949
with:
5050
success: >-
5151
${{
52-
needs.link-check.result == 'success' &&
52+
needs.lint.result == 'success' &&
5353
needs.publish-snapshots.result == 'success'
5454
}}

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ jobs:
9999
name: coverage-report
100100
path: all/build/reports/jacoco/test/html
101101

102-
markdown-link-check:
102+
lint:
103103
# release branches are excluded to avoid unnecessary maintenance
104104
if: ${{ !startsWith(github.ref_name, 'release/') }}
105-
uses: ./.github/workflows/reusable-link-check.yml
105+
uses: ./.github/workflows/reusable-lint-check.yml
106106

107107
build-graal:
108108
name: Build GraalVM
@@ -132,7 +132,7 @@ jobs:
132132
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
133133

134134
required-status-check:
135-
# markdown-link-check is not required so pull requests are not blocked if external links break
135+
# lint is not required so pull requests are not blocked if external links break
136136
needs:
137137
- build
138138
- build-graal
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)