Subnets availability validation should use AZs resolved by `EC2::Desc… #2278
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: Draft Release Notes | |
on: | |
push: | |
# branches to consider in the event; optional, defaults to all | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
update_release_draft: | |
permissions: | |
# write permission is required to create a github release | |
contents: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
# Drafts your next Release notes as Pull Requests are merged into "master" | |
- name: Draft release notes | |
id: draft | |
uses: release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348 #v6.0.0 | |
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml | |
# with: | |
# config-name: my-config.yml | |
# disable-autolabeler: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
commitish: main | |
- name: Checkout | |
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 #v4.1.2 | |
- name: Copy release notes from Draft | |
run: | | |
tag_name=${{ steps.draft.outputs.tag_name }} | |
echo "${{ steps.draft.outputs.body }}" > docs/release_notes/${tag_name:1}.md | |
- name: Upsert pull request | |
uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e #v6.0.2 | |
with: | |
token: ${{ secrets.EKSCTLBOT_TOKEN }} | |
commit-message: Add release notes for ${{ steps.draft.outputs.tag_name }} | |
committer: eksctl-bot <eksctl-bot@users.noreply.github.com> | |
body: | | |
🤖 Copy release notes from Draft | |
<details> | |
<summary> Full draft release notes for ${{ steps.draft.outputs.tag_name }} </summary> | |
<blockquote> | |
${{ steps.draft.outputs.body }} | |
</blockquote> | |
</details> | |
<br /> | |
Auto-generated by [eksctl Draft Release Notes GitHub workflow][1] | |
[1]: https://github.com/eksctl-io/eksctl/blob/main/.github/workflows/release-drafter.yaml | |
title: 'Add release notes for ${{ steps.draft.outputs.tag_name }}' | |
labels: kind/improvement, skip-release-notes | |
branch: update-release-notes |