From b5f77cb3e854057f1b458d5e21039fbfb3d6ed5c Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Wed, 7 Feb 2024 16:08:24 -0500 Subject: [PATCH] add pluginSlug to cypress config and update i18n workflow --- .github/workflows/wp-i18n.yml | 4 ++-- cypress.config.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wp-i18n.yml b/.github/workflows/wp-i18n.yml index 898e7450..9863ab0f 100644 --- a/.github/workflows/wp-i18n.yml +++ b/.github/workflows/wp-i18n.yml @@ -89,8 +89,8 @@ jobs: - name: Commit updated language files if: steps.changes.outcome == 'failure' run: | - git config --local user.name "${{ github.event.head_commit.author.name }}" - git config --local user.email "${{ github.event.head_commit.author.email }}" + git config --local user.name "${GITHUB_ACTOR} " + git config --local user.email "${GITHUB_ACTOR}@users.noreply.github.com" git remote -v git add './languages' git commit -m "WordPress I18N triggered by commit ${{ github.sha }}" diff --git a/cypress.config.js b/cypress.config.js index 73a4dcb0..f9da5459 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -11,6 +11,7 @@ module.exports = defineConfig({ phpVersion, pluginId: 'hostgator', appId: 'hgwp', + pluginSlug: 'wp-plugin-hostgator', }, downloadsFolder: 'tests/cypress/downloads', fixturesFolder: 'tests/cypress/fixtures',