From e170274257d44723e821fc8c6dd16c9c383cc2f3 Mon Sep 17 00:00:00 2001 From: bill fumerola Date: Wed, 18 Jun 2025 14:57:58 -0700 Subject: [PATCH 1/2] feat(lint): run on all github actions --- .github/workflows/lint.yml | 15 +++++++++------ .yamllint | 2 ++ 2 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .yamllint diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b0da9f4..245c916 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,4 +1,4 @@ -name: 'Lint' +name: "Lint" on: pull_request: @@ -10,17 +10,20 @@ permissions: jobs: lint: - strategy: - matrix: - os: [ubuntu-latest] - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest steps: - name: Checkout repo uses: actions/checkout@v6 - - name: actionlint + - name: actionlint repo itself uses: raven-actions/actionlint@v2 - name: actionlint examples uses: raven-actions/actionlint@v2 with: files: "examples/*.yml, examples/*.yaml" + + - name: Install yamllint + run: pip install yamllint + + - name: Lint Actions + run: yamllint -c ./.yamllint ./*-* diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..aa53554 --- /dev/null +++ b/.yamllint @@ -0,0 +1,2 @@ +rules: + document-start: disable From bdbf3965e52b3c76c2ed7b62f4fcb4dd31ebd95b Mon Sep 17 00:00:00 2001 From: bill fumerola Date: Fri, 12 Dec 2025 12:39:54 -0800 Subject: [PATCH 2/2] fix(gha): self-hosted runner --- .github/actionlint.yaml | 3 +++ .github/workflows/lint.yml | 5 ++++- 2 files changed, 7 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..07158ac --- /dev/null +++ b/.github/actionlint.yaml @@ -0,0 +1,3 @@ +self-hosted-runner: + labels: + - ci-enterprise-medium diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 245c916..a4f9bef 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,7 +10,10 @@ permissions: jobs: lint: - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, ci-enterprise-medium] + runs-on: ${{ matrix.os }} steps: - name: Checkout repo