From 3291829cca1aa3ff2c8bc08ca4a63b7657671773 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Tue, 14 May 2024 19:43:55 -0400 Subject: [PATCH] fix repository name reference --- .github/workflows/release.yml | 6 +++--- .github/workflows/release_prep_hatch.yml | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55c7ad53..283d81de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,7 +45,7 @@ jobs: outputs: archive-name: ${{ steps.archive.outputs.name }} steps: - - name: "Checkout ${{ github.repository.name }}@${{ inputs.branch }}" + - name: "Checkout ${{ github.event.repository.name }}@${{ inputs.branch }}" uses: actions/checkout@v4 with: ref: ${{ needs.release-prep.outputs.release-branch }} @@ -57,10 +57,10 @@ jobs: - name: "Set archive name" id: archive run: | - archive_name=${{ github.repository.name }}-${{ inputs.version }}-${{ inputs.deploy-to }} + archive_name=${{ github.event.repository.name }}-${{ inputs.version }}-${{ inputs.deploy-to }} echo "name=$archive_name" >> $GITHUB_OUTPUT - - name: "Build ${{ github.repository.name }}" + - name: "Build ${{ github.event.repository.name }}" uses: dbt-labs/dbt-adapters/.github/actions/build-hatch@main with: archive-name: ${{ steps.archive.outputs.name }} diff --git a/.github/workflows/release_prep_hatch.yml b/.github/workflows/release_prep_hatch.yml index ef5d38c3..a2742ce7 100644 --- a/.github/workflows/release_prep_hatch.yml +++ b/.github/workflows/release_prep_hatch.yml @@ -103,7 +103,7 @@ jobs: echo Python version: ${{ env.PYTHON_TARGET_VERSION }} echo Notification prefix: ${{ env.NOTIFICATION_PREFIX }} - - name: "Checkout ${{ github.repository }}@${{ inputs.branch }}" + - name: "Checkout ${{ github.event.repository.name }}@${{ inputs.branch }}" uses: actions/checkout@v4 with: ref: ${{ inputs.branch }} @@ -171,7 +171,7 @@ jobs: name: ${{ steps.release-branch.outputs.name }} steps: - - name: "Checkout ${{ github.repository }}@${{ inputs.branch }}" + - name: "Checkout ${{ github.event.repository.name }}@${{ inputs.branch }}" uses: actions/checkout@v4 with: ref: ${{ inputs.branch }} @@ -216,7 +216,7 @@ jobs: - core-team steps: - - name: "Checkout ${{ github.repository }}@${{ needs.release-branch.outputs.name }}" + - name: "Checkout ${{ github.event.repository.name }}@${{ needs.release-branch.outputs.name }}" uses: actions/checkout@v3 with: ref: ${{ needs.release-branch.outputs.name }} @@ -289,7 +289,7 @@ jobs: - generate-changelog steps: - - name: "Checkout ${{ github.repository }}@${{ needs.release-branch.outputs.name }}" + - name: "Checkout ${{ github.event.repository.name }}@${{ needs.release-branch.outputs.name }}" uses: actions/checkout@v3 with: ref: ${{ needs.release-branch.outputs.name }} @@ -331,7 +331,7 @@ jobs: - bump-version steps: - - name: "Checkout ${{ github.repository }}@${{ needs.release-branch.outputs.name }}" + - name: "Checkout ${{ github.event.repository.name }}@${{ needs.release-branch.outputs.name }}" uses: actions/checkout@v4 with: ref: ${{ needs.release-branch.outputs.name }} @@ -367,7 +367,7 @@ jobs: - 5432:5432 steps: - - name: "Checkout ${{ github.repository }}@${{ needs.release-branch.outputs.name }}" + - name: "Checkout ${{ github.event.repository.name }}@${{ needs.release-branch.outputs.name }}" uses: actions/checkout@v4 with: ref: ${{ needs.release-branch.outputs.name }} @@ -407,7 +407,7 @@ jobs: inputs.deploy-to == 'prod' steps: - - name: "Checkout ${{ github.repository }}" + - name: "Checkout ${{ github.event.repository.name }}" uses: actions/checkout@v3 - name: "Merge changes into ${{ inputs.branch }}" @@ -452,7 +452,7 @@ jobs: fi echo "name=$branch" >> $GITHUB_OUTPUT - - name: "Checkout ${{ github.repository }}@${{ steps.branch.outputs.name }}" + - name: "Checkout ${{ github.event.repository.name }}@${{ steps.branch.outputs.name }}" uses: actions/checkout@v3 with: ref: ${{ steps.branch.outputs.name }}