Skip to content

Commit

Permalink
Add default github action
Browse files Browse the repository at this point in the history
  • Loading branch information
roceb committed Nov 15, 2024
1 parent bc04381 commit 77ae50b
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
pull_request:

jobs:
docker:
Expand All @@ -16,6 +17,7 @@ jobs:
id: build
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
docker_token: ${{ secrets.DOCKER_TOKEN }}
dockerfile: docker/Dockerfile
platforms: linux/amd64,linux/arm64
image: ${{ github.repository }}
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Lint Markdown Files

on:

Check warning on line 4 in .github/workflows/markdownlint.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

4:1 [truthy] truthy value should be one of [false, true]
push:
branches:
- main
pull_request:

jobs:
call-workflow:
uses: lsst/rubin_workflows/.github/workflows/markdownlint.yaml@main
8 changes: 8 additions & 0 deletions .github/workflows/rebase_checker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: Check that 'main' is not merged into the development branch

on: pull_request

Check warning on line 4 in .github/workflows/rebase_checker.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

4:1 [truthy] truthy value should be one of [false, true]

jobs:
call-workflow:
uses: lsst/rubin_workflows/.github/workflows/rebase_checker.yaml@main
12 changes: 12 additions & 0 deletions .github/workflows/yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Lint YAML Files

on:

Check warning on line 4 in .github/workflows/yamllint.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

4:1 [truthy] truthy value should be one of [false, true]
push:
branches:
- main
pull_request:

jobs:
call-workflow:
uses: lsst/rubin_workflows/.github/workflows/yamllint.yaml@main

0 comments on commit 77ae50b

Please sign in to comment.