From 41ce750bc99fe6be0f83e1b47cc749693640c65f Mon Sep 17 00:00:00 2001 From: Vincent Massaro Date: Mon, 24 Jun 2024 15:17:24 -0400 Subject: [PATCH 1/2] fix: restore previous behavior of commiting/removing compiled component library --- .github/workflows/release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e689d52cb..97365da2e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,9 +30,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} YALESITES_BUILD_TOKEN: ${{ secrets.YALESITES_BUILD_TOKEN }} run: npx semantic-release - - name: Reset branch to prior commit - run: | - git config user.name 'github-actions[bot]' - git config user.email 'github-actions[bot]@users.noreply.github.com' - git reset --hard $GITHUB_SHA - git push --force + - name: Remove Compiled Component Library + uses: EndBug/add-and-commit@v9 + with: + remove: "--cached -r node_modules" + message: "build: removed compiled component library from git" From 8f13805a711db5b063da7a1ff399bec30210bcf4 Mon Sep 17 00:00:00 2001 From: Vincent Massaro Date: Mon, 24 Jun 2024 15:23:55 -0400 Subject: [PATCH 2/2] chore: set github actions bot as author --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 97365da2e..111883ca2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,5 +33,7 @@ jobs: - name: Remove Compiled Component Library uses: EndBug/add-and-commit@v9 with: + author_name: github-actions[bot] + author_email: github-actions[bot]@users.noreply.github.com remove: "--cached -r node_modules" message: "build: removed compiled component library from git"