Skip to content

Commit

Permalink
try and run gh-actions more specificly instead of generally (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed May 15, 2024
1 parent 5e787fd commit 2247ca4
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,19 @@ on:
branches:
- main
- release/*
paths:
- "starship/exposer/**"
- "starship/registry/**"
- "starship/faucet/**"
- ".github/workflows/build.yaml"
pull_request:
branches:
- main
paths:
- "starship/exposer/**"
- "starship/registry/**"
- "starship/faucet/**"
- ".github/workflows/build.yaml"
types: [opened, reopened, synchronize, ready_for_review]

concurrency:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/lint-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ on:
branches:
- main
- release/*
paths:
- "starship/charts/**"
- ".github/workflows/lint-check.yaml"
pull_request:
branches:
- main
paths:
- "starship/charts/**"
- ".github/workflows/lint-check.yaml"
types: [ opened, reopened, synchronize, ready_for_review ]

concurrency:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pr-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main
- release/*
paths:
- "starship/**"
- "!starship/docker/**"
- ".github/workflows/pr-tests.yaml"
types: [opened, reopened, synchronize, ready_for_review]

concurrency:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/run-client-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@ on:
branches:
- main
- release/*
paths:
- "clients/js/**"
- ".github/workflows/run-client-tests.yml"
pull_request:
branches:
- main
paths:
- "clients/js/**"
- ".github/workflows/run-client-tests.yml"
types: [opened, reopened]

workflow_dispatch:
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/starship-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ on:
branches:
- main
- release/*
paths:
- "starship/registry/**"
- "starship/exposer/**"
- "starship/faucet/**"
- ".github/workflows/starship-docker.yaml"
pull_request:
branches:
- main
paths:
- "starship/registry/**"
- "starship/exposer/**"
- "starship/faucet/**"
- ".github/workflows/starship-docker.yaml"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-starship-docker
Expand Down Expand Up @@ -68,7 +81,7 @@ jobs:
if: steps.changes.outputs.src == 'true'
uses: docker/build-push-action@v4
with:
push: true
push: ${{ github.event_name == 'push' }}
context: ${{ matrix.type }}/
tags: ghcr.io/cosmology-tech/starship/${{ matrix.type }}:${{ steps.docker-tag.outputs.version }}
platforms: linux/amd64,linux/arm64

0 comments on commit 2247ca4

Please sign in to comment.