From f63e01816f184101c75918f60203bb3522a5775e Mon Sep 17 00:00:00 2001 From: Dylan Murray Date: Tue, 19 Nov 2024 15:18:23 -0500 Subject: [PATCH 1/2] :bug: fix release action workflow Signed-off-by: Dylan Murray --- create-release/action.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/create-release/action.yml b/create-release/action.yml index 6052fbb..ff8c218 100644 --- a/create-release/action.yml +++ b/create-release/action.yml @@ -53,6 +53,15 @@ runs: echo "xy_version=${XY_VERSION}" >> $GITHUB_OUTPUT id: check_tag + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + repository: ${{ inputs.repository }} + ref: ${{ inputs.ref }} + path: ${{ inputs.repository }} + token: ${{ inputs.github_token }} + - name: Generate Changelog uses: ./.github/workflows/generate-changelog.yml with: @@ -79,4 +88,4 @@ runs: draft: false prerelease: ${{ inputs.is_prerelease }} skipIfReleaseExists: true - token: ${{ inputs.github_token }} \ No newline at end of file + token: ${{ inputs.github_token }} From dcced7cc0b779be60ff95ea11148a471626e3f71 Mon Sep 17 00:00:00 2001 From: Dylan Murray Date: Tue, 19 Nov 2024 15:21:12 -0500 Subject: [PATCH 2/2] oops Signed-off-by: Dylan Murray --- create-release/action.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/create-release/action.yml b/create-release/action.yml index ff8c218..7ca4fd0 100644 --- a/create-release/action.yml +++ b/create-release/action.yml @@ -55,12 +55,6 @@ runs: - name: Checkout code uses: actions/checkout@v4 - with: - fetch-depth: 0 - repository: ${{ inputs.repository }} - ref: ${{ inputs.ref }} - path: ${{ inputs.repository }} - token: ${{ inputs.github_token }} - name: Generate Changelog uses: ./.github/workflows/generate-changelog.yml