Skip to content

Commit

Permalink
Trigger release CI to build when changes are pushed to main. Remove t…
Browse files Browse the repository at this point in the history
…he merged check. (#476)
  • Loading branch information
amazonKamath authored Nov 20, 2024
1 parent 69b0490 commit f9fc03d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ name: Release CI
on:
push:
branches: ['main']
pull_request:
branches: ['main']
types: [opened, closed]

env:
PACKAGE_NAME: aws-iot-device-client
Expand All @@ -21,7 +18,6 @@ jobs:
# It then runs the Device Client to output the version to be used in the subsequent jobs.
versioning:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
outputs:
version: ${{ steps.get-version.outputs.version }}
steps:
Expand Down Expand Up @@ -55,7 +51,6 @@ jobs:
echo "version=$version" >> "$GITHUB_OUTPUT"
build-docker-image-ubuntu-x86_64:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
needs: [versioning]
permissions:
id-token: write
Expand Down Expand Up @@ -97,7 +92,6 @@ jobs:
platforms: linux/amd64
build-docker-image-ubuntu-aarch64:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
needs: [versioning]
permissions:
id-token: write
Expand Down Expand Up @@ -139,7 +133,6 @@ jobs:
platforms: linux/arm64
build-docker-image-ubuntu-armv7:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
needs: [versioning]
permissions:
id-token: write
Expand Down Expand Up @@ -181,7 +174,6 @@ jobs:
platforms: linux/arm/v7
build-docker-image-amazonlinux-x86_64:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
needs: [versioning]
permissions:
id-token: write
Expand Down Expand Up @@ -223,7 +215,6 @@ jobs:
platforms: linux/amd64
build-docker-image-amazonlinux-aarch64:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
needs: [versioning]
permissions:
id-token: write
Expand Down Expand Up @@ -265,7 +256,6 @@ jobs:
platforms: linux/arm64
build-docker-image-ubi8-x86_64:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
needs: [versioning]
permissions:
id-token: write
Expand Down Expand Up @@ -307,7 +297,6 @@ jobs:
platforms: linux/amd64
build-docker-image-ubi8-aarch64:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
needs: [versioning]
permissions:
id-token: write
Expand Down

0 comments on commit f9fc03d

Please sign in to comment.