From 79f6ea0b44a47dc01992f7300dbcd04c5937024c Mon Sep 17 00:00:00 2001 From: Ladislav Thon Date: Wed, 23 Oct 2024 12:27:28 +0200 Subject: [PATCH] Read project metadata in before/after release actions --- .github/workflows/prepare-release.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 777b9472..13acde84 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -20,6 +20,13 @@ jobs: if: ${{ github.event.pull_request.merged == true}} steps: + - name: Retrieve project metadata + id: metadata + uses: radcortez/project-metadata-action@main + with: + github-token: ${{secrets.GITHUB_TOKEN}} + metadata-file-path: '.github/project.yml' + - name: Checkout uses: actions/checkout@v4 @@ -50,6 +57,13 @@ jobs: if: ${{ github.event.pull_request.merged == true}} steps: + - name: Retrieve project metadata + id: metadata + uses: radcortez/project-metadata-action@main + with: + github-token: ${{secrets.GITHUB_TOKEN}} + metadata-file-path: '.github/project.yml' + - name: Checkout uses: actions/checkout@v4