Validate added migration file #21
Workflow file for this run
This file contains 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: Check task migrations | |
"on": | |
pull_request: | |
branches: [main] | |
jobs: | |
check: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Create k8s Kind Cluster | |
uses: helm/[email protected] | |
with: | |
cluster_name: kind | |
- uses: tektoncd/actions/setup-tektoncd@main | |
with: | |
pipeline_version: latest | |
- name: Run check | |
run: | | |
kubectl get all -n tekton-pipelines | |
# Require name main | |
git branch main origin/main | |
# Make `git branch --show-current` works. | |
git checkout -b pr-verify | |
export IN_CLUSTER=1 | |
bash -x ./hack/validate-migration.sh |