Skip to content

Commit

Permalink
Fix yaml linting
Browse files Browse the repository at this point in the history
  • Loading branch information
roceb committed Aug 13, 2024
1 parent e60dc1d commit 62609b0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 37 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Build Jenkins swarm client container
on:
push:
Expand All @@ -24,7 +25,9 @@ jobs:
images: ghcr.io/${{ github.repository }}
tags: |
type=raw,value=latest,enable=${{ github.ref_name == 'master' }}
type=raw,value=merge,enable=${{ github.ref_name != 'master' }}
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr,suffix=/${{ github.head_ref }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/shellcheck.yaml

This file was deleted.

20 changes: 2 additions & 18 deletions .github/workflows/yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,8 @@
name: Lint YAML Files

on:
push:
branches:
- main
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.12

- name: Install
run: pip install yamllint

- name: Run linter
run: yamllint .
call-workflow:
uses: lsst/rubin_workflows/.github/workflows/yamllint.yaml@main

0 comments on commit 62609b0

Please sign in to comment.