From f5b3906b189c6a67171860fdf59375b19715bf4e Mon Sep 17 00:00:00 2001 From: Bryce Lampe Date: Wed, 13 Nov 2024 02:46:41 -0800 Subject: [PATCH] Rename custom workflows to prevent conflicts with ci-mgmt (#1483) Preparation for https://github.com/pulumi/ci-mgmt/issues/1142. This renames custom workflows to have an "eks-" prefix to prevent ci-mgmt from deleting them (similar to https://github.com/pulumi/pulumi-aws/pull/4418). This also adds a missing `.actionlint.yml` config file, copied from [azure-native](https://github.com/pulumi/pulumi-azure-native/blob/master/.actionlint.yml). The `lint_workflows` action currently has no effect without this file ([example](https://github.com/pulumi/pulumi-eks/actions/runs/11468567327/job/31913961281)): > could not read config file ".actionlint.yml": open .actionlint.yml: no such file or directory --- .actionlint.yml | 4 ++++ .github/workflows/{actionlint.yml => eks-actionlint.yml} | 0 .github/workflows/{cron.yml => eks-cron.yml} | 0 .github/workflows/{record.yml => eks-record.yml} | 0 4 files changed, 4 insertions(+) create mode 100644 .actionlint.yml rename .github/workflows/{actionlint.yml => eks-actionlint.yml} (100%) rename .github/workflows/{cron.yml => eks-cron.yml} (100%) rename .github/workflows/{record.yml => eks-record.yml} (100%) diff --git a/.actionlint.yml b/.actionlint.yml new file mode 100644 index 000000000..653148f50 --- /dev/null +++ b/.actionlint.yml @@ -0,0 +1,4 @@ +self-hosted-runner: + # Labels of self-hosted runner in array of string + labels: + - pulumi-ubuntu-8core diff --git a/.github/workflows/actionlint.yml b/.github/workflows/eks-actionlint.yml similarity index 100% rename from .github/workflows/actionlint.yml rename to .github/workflows/eks-actionlint.yml diff --git a/.github/workflows/cron.yml b/.github/workflows/eks-cron.yml similarity index 100% rename from .github/workflows/cron.yml rename to .github/workflows/eks-cron.yml diff --git a/.github/workflows/record.yml b/.github/workflows/eks-record.yml similarity index 100% rename from .github/workflows/record.yml rename to .github/workflows/eks-record.yml