Skip to content

Commit

Permalink
Run ECR on push to dev & master (#244)
Browse files Browse the repository at this point in the history
### Description
<!-- Describe what change this PR is implementing -->

Prevent building an image for each PR... just build the image for dev,
master branches & hotfix, release PRs.

### Types of Changes
<!--- What types of changes does your code introduce? -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Dependency upgrade (A change in substrate or any 3rd party crate
version)

### Migrations and Hooks
<!--- Check the following box with an x if the following applies: -->
- [ ] This change requires a runtime migration.
- [ ] Modifies `on_initialize`
- [ ] Modifies `on_finalize`

### Checklist
<!--- All boxes need to be checked. Follow this checklist before
requiring PR review -->
- [ ] Change has been tested locally.
- [ ] Change adds / updates tests.
- [ ] Changelog doc updated.
  • Loading branch information
rakanalh authored Jan 23, 2024
1 parent 249fe00 commit 50f070c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ecr.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: ECR

on:
pull_request:
push:
branches:
- dev
- staging
- master
pull_request:
branches:
- 'release/**'
- 'hotfix/**'
types:
Expand Down

0 comments on commit 50f070c

Please sign in to comment.