From b1b928fc6605db81732af5e4c44d632ea072e058 Mon Sep 17 00:00:00 2001 From: Pierre Jeanjacquot <26487010+PierreJeanjacquot@users.noreply.github.com> Date: Tue, 6 Oct 2026 15:40:17 +0200 Subject: [PATCH] ci: use self-repository syntax for workflows consuming self repo workflows --- .github/actionlint.yaml | 7 +++++++ .github/workflows/lint-pr-title.yml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .github/actionlint.yaml diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml new file mode 100644 index 0000000..4e94dbe --- /dev/null +++ b/.github/actionlint.yaml @@ -0,0 +1,7 @@ +paths: + .github/workflows/*.yml: + ignore: + # actionlint does not support the `$/` self-repository syntax yet + # issue: https://github.com/rhysd/actionlint/issues/711 + # PR: https://github.com/rhysd/actionlint/pull/732 + - 'reusable workflow call "\$/.+" at "uses" is not following the format' diff --git a/.github/workflows/lint-pr-title.yml b/.github/workflows/lint-pr-title.yml index f121670..0a894e4 100644 --- a/.github/workflows/lint-pr-title.yml +++ b/.github/workflows/lint-pr-title.yml @@ -18,4 +18,4 @@ jobs: lint-pr-title: permissions: pull-requests: read - uses: ./.github/workflows/conventional-commits.yml + uses: $/.github/workflows/conventional-commits.yml