Skip to content

ci: update platform terraform module workflows #4

Open
wants to merge 1 commit into
base: bot/manual-update-global-workflow-main-dq2y7
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/platform-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This file is managed by https://github.com/nexient-llc/.github/

# DO NOT make changes to this file directly from within any other
# repo then mentioned above as they will be overwritten upon the
# next sync.

name: pipeline-check
on:
push:
branches:
- '**'
- '!main'
jobs:
check:
runs-on: ubuntu-latest
container:
image: nexientdevops/platform-images
steps:
- name: Check out the repo
uses: actions/checkout@v3
with:
fetch-depth: 0 # pull entire history to ensure pre-merge functions properly
- uses: nexient-llc/.github/actions/configure@main
- uses: nexient-llc/.github/actions/check@main
- uses: nexient-llc/.github/actions/pre-merge@main
33 changes: 33 additions & 0 deletions .github/workflows/platform-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This file is managed by https://github.com/nexient-llc/.github/

# DO NOT make changes to this file directly from within any other
# repo then mentioned above as they will be overwritten upon the
# next sync.

name: pipeline-release
on:
pull_request:
branches:
- 'main'
types:
- closed
paths:
- '**'
- '!.github/**'
jobs:
release:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
container:
image: nexientdevops/platform-images
steps:
- name: Check out the repo
uses: actions/checkout@v3
with:
fetch-depth: 0 # pull entire history to ensure pre-merge functions properly
- uses: nexient-llc/.github/actions/configure@main
- uses: nexient-llc/.github/actions/check@main
- uses: nexient-llc/.github/actions/pre-merge@main
- uses: nexient-llc/.github/actions/release@main
with:
mode: "git-branch"