From 3dfa15829d7ef6e5520aafc16e278c39df4a4c8c Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Sat, 7 Dec 2024 12:37:51 -0500 Subject: [PATCH] fix package directory --- .github/workflows/_changelog-entry-check.yml | 2 +- .github/workflows/_package-directory.yml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/_changelog-entry-check.yml b/.github/workflows/_changelog-entry-check.yml index 7bd07a7d..3e2c324f 100644 --- a/.github/workflows/_changelog-entry-check.yml +++ b/.github/workflows/_changelog-entry-check.yml @@ -46,7 +46,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} filters: | exists: - - added|modified: '${{ needs.package.outputs.directory }}/.changes/unreleased/**.yaml' + - added|modified: '${{ needs.package.outputs.directory }}.changes/unreleased/**.yaml' comment: needs: changelog-check diff --git a/.github/workflows/_package-directory.yml b/.github/workflows/_package-directory.yml index de7df975..92f97f88 100644 --- a/.github/workflows/_package-directory.yml +++ b/.github/workflows/_package-directory.yml @@ -27,12 +27,13 @@ jobs: run: | if [[ ${{ inputs.package }} == "dbt-adapters" ]] then - directory="." + directory="" else - directory="${{ inputs.package }}" + directory="${{ inputs.package }}/" fi echo "directory=$directory" >> $GITHUB_OUTPUT - - run: echo "::notice title=$TITLE::$MESSAGE" + - run: | + echo "::notice $TITLE::$MESSAGE" env: TITLE: "Package directory" MESSAGE: "${{ steps.pacakge.outputs.directory }}"