feat: support EC2 DescribeInstanceStatus health checks in the interruption controller #1403
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: WebsitePreviewTrigger | |
| on: | |
| pull_request: | |
| types: [ opened, synchronize, reopened ] | |
| jobs: | |
| preview-trigger: | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'aws/karpenter-provider-aws' | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Save info about the PR as an artifact for other workflows that run on workflow_run to download them | |
| env: | |
| PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }} | |
| COMMIT_ID: ${{ github.event.pull_request.head.sha }} | |
| run: | | |
| mkdir -p /tmp/artifacts | |
| { echo "$PULL_REQUEST_NUMBER"; echo "$COMMIT_ID"; } >> /tmp/artifacts/website-metadata.txt | |
| cat /tmp/artifacts/website-metadata.txt | |
| - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | |
| with: | |
| name: artifacts | |
| path: /tmp/artifacts |