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

ci: Dry run prepare-website on merge to main and presubmit #5721

Merged
merged 2 commits into from
Feb 23, 2024
Merged
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
13 changes: 13 additions & 0 deletions .github/workflows/dryrun-gen-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: DryRunGenPR
on:
pull_request:
workflow_dispatch:
jobs:
dryrun-gen:
if: github.repository == 'aws/karpenter-provider-aws'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: make prepare-website
env:
GIT_TAG: v0.10000.0 # Mock version for testing website generation
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: DocGenCI
name: DryRunGen
on:
push:
branches:
- 'main'
- 'release-v*'
jobs:
docgen-ci:
dryrun-gen:
permissions:
id-token: write # aws-actions/[email protected]
if: github.repository == 'aws/karpenter-provider-aws'
Expand All @@ -21,3 +21,6 @@ jobs:
- run: make codegen
env:
ENABLE_GIT_PUSH: false
- run: make prepare-website
env:
GIT_TAG: v0.10000.0 # Mock version for testing website generation
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: PullRequestSnapshot
name: SnapshotPR
on:
workflow_run:
workflows:
- ApprovalComment
types:
- completed
jobs:
release:
snapshot:
permissions:
id-token: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- 'main'
- 'release-v*'
jobs:
release:
snapshot:
permissions:
id-token: write # aws-actions/[email protected]
if: github.repository == 'aws/karpenter-provider-aws'
Expand Down
Loading