Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add manifest workflow #234

Merged
merged 2 commits into from
Sep 5, 2021
Merged
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
39 changes: 39 additions & 0 deletions .github/workflows/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: manifest

on:
pull_request:
branches: [master]
paths:
- e2e_test/*.yaml
- .github/workflows/manifest.yaml

jobs:
diff:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: int128/hide-comment-action@v1
with:
ends-with: |
<!-- kustomize-action -->
<!-- diff-action -->
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
ref: master
path: master
- uses: int128/kustomize-action@v1
id: kustomize-head
with:
kustomization: e2e_test/kustomization.yaml
write-individual-files: true
- uses: int128/kustomize-action@v1
id: kustomize-base
with:
base-directory: master
kustomization: e2e_test/kustomization.yaml
write-individual-files: true
- uses: int128/diff-action@v1
with:
base: ${{ steps.kustomize-base.outputs.directory }}
head: ${{ steps.kustomize-head.outputs.directory }}