diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8b4897f..6f759c7 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,6 +1,6 @@ name: "CI" -on: [push] +on: [pull_request] jobs: tests: diff --git a/.github/workflows/build-storybook.yml b/.github/workflows/build-storybook.yml index 32ed0c9..d95ddbd 100644 --- a/.github/workflows/build-storybook.yml +++ b/.github/workflows/build-storybook.yml @@ -21,6 +21,7 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: storybook-${{ github.sha }} + # TODO (GAFI 19-03-2024): Add variable for this to avoid using ref when not provided + name: storybook-${{ github.head_ref }} path: ./storybook-static if-no-files-found: error diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ac2e60..a13fbdf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,7 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: lib-${{ github.sha }} + # TODO (GAFI 19-03-2024): Add variable for this to avoid using ref when not provided + name: lib-${{ github.head_ref }} path: ./dist if-no-files-found: error