Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
b9f2b2b
Merge pull request #65 from rtCamp/develop
juhi123 Mar 18, 2021
0fc01f2
Add 'login_with_google/client_arguments' filter for Google_Client arg…
pdclark May 11, 2021
ffb2989
Version bump.
pdclark May 11, 2021
5b31928
Set google/apiclient to 2.8.3. See https://packagist.org/packages/goo…
pdclark May 11, 2021
d5778a0
Remove PHP 8 file after composer install.
pdclark May 11, 2021
6fd5b5c
Remove automatic composer update.
pdclark May 11, 2021
91e6fc4
Verify state on round trip
May 14, 2021
5395f20
Hook: Consistency in naming
May 19, 2021
581bc5d
Merge pull request #71 from rtCamp/fix/state-verification
pdclark May 19, 2021
330739f
Version bump.
pdclark May 19, 2021
8bdbdee
Compare expected state with received state
May 21, 2021
9fe2caa
Merge pull request #73 from rtCamp/fix/state-decoding
pdclark May 25, 2021
0a79d7b
Merge branch 'master' of github.com:rtCamp/login-with-google
pdclark May 25, 2021
ca64851
Version bump.
pdclark May 25, 2021
13f8c1a
Revert Login with GitHub state fix.
pdclark May 26, 2021
2055fcd
Minimal structure with no external library
May 31, 2021
7981495
Remove references of github plugin
May 31, 2021
6e2d76c
Tests adjustments and phpcs fixes
May 31, 2021
aa2af7d
Fix:Tets: Login, Client and Shortcode
Jun 1, 2021
80f3d6f
Fix: Tests - Login Class
Jun 1, 2021
1fb175c
Fix: Tests - Plugin Class
Jun 1, 2021
bbc628a
Fix Assets, Settings and shortcode test cases
sabbir1991 Jun 1, 2021
04e73ef
Merge branch 'fix/oauth-class' of github.com:rtCamp/login-with-google…
sabbir1991 Jun 1, 2021
b2b7ec6
Fix GoogleClient test cases
sabbir1991 Jun 1, 2021
c610851
Assets for button
Jun 1, 2021
243df8f
Fix: Tests - Assets
Jun 1, 2021
5a03a28
Update: Readme info
Jun 1, 2021
3235538
Update: Readme info
Jun 1, 2021
e97a7a0
Update: Readme info
Jun 1, 2021
e6893e1
Readme: Unit testing
Jun 1, 2021
4b31c9f
Add Assets
Jun 1, 2021
4895cfb
Update: Registration hook name
Jun 2, 2021
b507091
Added some testcases in login settings and shortcodes
sabbir1991 Jun 2, 2021
8626a0b
Merge branch 'fix/oauth-class' of github.com:rtCamp/login-with-google…
sabbir1991 Jun 2, 2021
a8adfcb
Workflow: Unit testing
Jun 2, 2021
0d9d4af
Update minimum php version support
Jun 2, 2021
f1b650a
Update dependencies
Jun 2, 2021
227b9d1
Update comment
Jun 2, 2021
745029b
Add code coverage driver
Jun 2, 2021
c5db356
Add artifact in GH Action
dhsathiya Jun 3, 2021
a6e3fcd
WP-CLI: Support for config constants
Jun 24, 2021
41aacda
Merge branch 'fix/oauth-class' of https://github.com/rtCamp/login-wit…
Jun 24, 2021
99da76d
Update readme and wp-assets
Jun 29, 2021
7275e2e
Disable fields if constant defined
Jun 29, 2021
941e5be
Fix: Unit tests
Jun 29, 2021
db5d39c
Add action for artifact upload
mrrobot47 Jun 29, 2021
68d5eb7
Fix dirs
mrrobot47 Jun 29, 2021
99ece9b
Add vendor dirs
Jun 29, 2021
c5a0c3b
Fix report path
mrrobot47 Jun 29, 2021
80f72a4
Debug path
mrrobot47 Jun 29, 2021
9955100
Update download path
mrrobot47 Jun 29, 2021
382f07a
Readme: Update minimum requirements
Jun 29, 2021
970fcc7
Add comment in PR with report URL
mrrobot47 Jun 29, 2021
5bf862e
Update ref var
mrrobot47 Jun 29, 2021
39c30c4
Fix URL
mrrobot47 Jun 29, 2021
6ef3641
Update reports repo name
mrrobot47 Jun 29, 2021
d733743
Readme: Info update
Jun 29, 2021
77817b9
Update .pot
Jun 29, 2021
f9f2c7a
Update filter name
Jun 29, 2021
2de5eac
Fix: Tests
Jun 29, 2021
48557c0
Merge pull request #80 from rtCamp/artifact/upload
Jun 29, 2021
b557206
Update authors
Jun 29, 2021
04880a6
Hook: Deprecate wp_google_login_scopes hook with support
Jun 30, 2021
000bac0
Merge pull request #74 from rtCamp/fix/oauth-class
Jul 1, 2021
97536d1
Fix: Redirect issue
Jul 1, 2021
21e3ce0
Doc: Filter rtcamp.google_default_redirect
Jul 1, 2021
0f5e9b9
Merge pull request #81 from rtCamp/fix/post-login-redirect
Jul 1, 2021
07b0e26
One Tap Function for signing-in
Jul 5, 2021
b1092a0
ID Token Verification Implementation
Jul 6, 2021
483c26b
Authentication success for existing users
Jul 6, 2021
7a93107
Version 1.1 & fix shortcode fatal error.
pdclark Jul 6, 2021
cc96c67
Authenticator class for central authentication logic
Jul 7, 2021
24c9f68
Redirect support post-login
Jul 7, 2021
e1ece7a
Fix: Tests
Jul 7, 2021
9e37ecc
Fix: PHPCS Issues
Jul 7, 2021
80203e7
Fix code coverage report URL
mrrobot47 Jul 8, 2021
71c8c36
Option for login/sitewide login
ankitrox Jul 12, 2021
c5da034
Fix: Tests
ankitrox Jul 12, 2021
05312ae
Cache the public key
ankitrox Jul 13, 2021
7053f29
Tests: Authenticator
ankitrox Jul 13, 2021
536b1f7
Add covering methods for tests
ankitrox Jul 14, 2021
0f2cbfa
Tests: Increase coverage for Authenticator
ankitrox Jul 14, 2021
8e92877
Tests: __contruct
ankitrox Jul 14, 2021
706a63e
Tests: Token Verifier Class
ankitrox Jul 14, 2021
ab6c2e2
Tests: Token Verifier Class
ankitrox Jul 14, 2021
47cf893
Tests: Token Verifier Code Coverage
ankitrox Jul 14, 2021
dda1111
Private access trait
ankitrox Jul 14, 2021
14272e0
Toggle field script
ankitrox Jul 14, 2021
92f401d
Label update
ankitrox Jul 14, 2021
b5ef737
Tests: Fix method name for covers annotation
ankitrox Jul 15, 2021
e8f3a52
Improve redability in readme for WP plugin page
ankitrox Jul 15, 2021
5f7de4a
Update: Unit tests info
ankitrox Jul 15, 2021
c1d6051
Fix: Transient expiration time
ankitrox Jul 15, 2021
b73c9d5
Fix: PHPCS
ankitrox Jul 15, 2021
b495dcc
Merge pull request #85 from rtCamp/fix/readme-readability
Jul 15, 2021
8174fde
Enqueue scripts on concerned screens
ankitrox Jul 16, 2021
5654414
Merge pull request #84 from rtCamp/fix/url
mrrobot47 Jul 17, 2021
0938b7e
Asset minification
ankitrox Jul 19, 2021
9e3212f
URL check before redirecting
ankitrox Jul 19, 2021
af3a564
Alert error
ankitrox Jul 19, 2021
cdad015
Merge pull request #83 from rtCamp/feature/one-tap-login
Jul 19, 2021
b6f21c7
Close <div> tag.
pdclark Jul 19, 2021
f6b36d9
Version 1.2.
pdclark Jul 19, 2021
de96284
Provide filter for client arguments
ankitrox Jul 23, 2021
5fd2b9c
Merge pull request #87 from rtCamp/feature/client-args-filter
pdclark Jul 23, 2021
eba1444
Version 1.2.1
pdclark Jul 23, 2021
674ff3d
Post authentication hook
ankitrox Aug 31, 2021
bd43bd9
Fix: Tests
ankitrox Aug 31, 2021
227c29c
Update Readme.txt file
Oct 29, 2021
18f1ed7
Merge pull request #94 from rtCamp/update/readme.txt-readme.md
pooja-muchandikar Oct 29, 2021
97a714c
Set cookie when login with google shortcode display to bypass page cache
chandrapatel Dec 16, 2021
9c8286f
Version bump.
pdclark Mar 2, 2022
3ff489b
Merge pull request #96 from rtCamp/fix/bypass-page-cache
chandrapatel Mar 24, 2022
4be4f70
Update banner image path
maitreyie-chavan May 11, 2022
90b68d7
[105] Update composer packages
Jun 20, 2022
26d1b7e
[105] Revert minimum php requirement
Jun 20, 2022
b223ad4
[105] Set pimple to use 3.3
Jun 21, 2022
5554275
[105] Remove deprecated parameter in composer install command
Jun 21, 2022
6e0ad7d
Require PHP 7.4 and set upgrade notice.
pdclark Jun 21, 2022
6bb0024
Merge pull request #109 from rtCamp/fix/105-update-composer-packages
pdclark Jun 21, 2022
b65c989
chore: Set cookie to bypass vip-go page cache
Souptik2001 Jul 3, 2022
a3f5323
Merge pull request #111 from rtCamp/feature/bypass-page-cache-vip-go
chandrapatel Jul 8, 2022
b482fe6
added hook after user login
abhishekfdd Jul 20, 2022
ad7dd08
updated package.json for fixing unit test
abhishekfdd Jul 21, 2022
723b264
updated action variables
abhishekfdd Jul 22, 2022
fd9f0b3
replaced id with user object
abhishekfdd Jul 25, 2022
58c9d75
Saving first name and last name on user registration
abhishekfdd Jul 25, 2022
3feabb4
update composer.json
abhishekfdd Jul 25, 2022
d144674
added @param info and updated action name
abhishekfdd Jul 25, 2022
151865b
updated version info for action
abhishekfdd Jul 25, 2022
2dd4920
updated composer.json
abhishekfdd Jul 25, 2022
fda1629
updated action info
abhishekfdd Jul 26, 2022
62cce74
updated action doc
abhishekfdd Jul 26, 2022
9219924
Merge pull request #115 from rtCamp/feature/save-user-info-on-registr…
abhishekfdd Jul 26, 2022
c5fe21e
Merge pull request #114 from rtCamp/feature/login-register-hook
abhishekfdd Jul 26, 2022
3b6aa20
Merge pull request #91 from rtCamp/feature/post-auth-action
abhishekfdd Jul 26, 2022
a33e4ab
added google login block, updated laravel-mix and composer.json
abhishekfdd Aug 1, 2022
6c4368f
added google login block, updated laravel-mix and composer.json
abhishekfdd Aug 1, 2022
660ec93
updated html for login form button
abhishekfdd Aug 1, 2022
9affa20
updated tests class number
abhishekfdd Aug 1, 2022
7cf3c71
added block test class
abhishekfdd Aug 1, 2022
61742a2
updated test method
abhishekfdd Aug 1, 2022
d9cc516
updated js path in test method
abhishekfdd Aug 1, 2022
8d34deb
updated testRegister method
abhishekfdd Aug 1, 2022
3b72764
added logout setting for block and updated block styling
abhishekfdd Aug 3, 2022
e27c7e1
feedback changes
abhishekfdd Aug 4, 2022
1abaa95
updated changelog
abhishekfdd Aug 4, 2022
6984ca5
updated feedback changes
abhishekfdd Aug 22, 2022
2b2759f
updated button variable
abhishekfdd Aug 22, 2022
4069806
added a test case for render logout button
abhishekfdd Aug 23, 2022
bc2b97e
added a test case for render logout button
abhishekfdd Aug 23, 2022
48e6663
Update code markup
maitreyie-chavan Sep 4, 2022
a4cd6c0
Merge pull request #116 from rtCamp/feature/google-login-block
abhishekfdd Sep 5, 2022
e151e8e
added helper text for block setting
abhishekfdd Sep 12, 2022
7ef29ca
ran npm production
abhishekfdd Sep 12, 2022
06d7ac7
bumped plugin version
abhishekfdd Sep 12, 2022
91139c7
Merge pull request #123 from rtCamp/feature/google-login-block
abhishekfdd Sep 13, 2022
daa554c
Fix nonce verification failure
elifvish Sep 13, 2022
5854e2b
Merge pull request #125 from rtCamp/fix/multiple-redirection-while-login
elifvish Sep 16, 2022
7bacce7
Merge pull request #124 from rtCamp/feature/issue-122
abhishekfdd Sep 28, 2022
9688c19
updated changelog
abhishekfdd Sep 28, 2022
8858b50
updated version to 1.3.0
abhishekfdd Sep 28, 2022
f48c87b
merge with master
abhishekfdd Sep 28, 2022
326b759
Merge pull request #118 from rtCamp/feature/changelog-1.2.3
abhishekfdd Sep 28, 2022
e9263f4
chroe: Update WP version and hooks
Souptik2001 Oct 2, 2022
98fc210
chore: Increase minimum PHP version
Souptik2001 Oct 7, 2022
c98372f
docs: Update changelog
Souptik2001 Oct 7, 2022
aa4ed3f
chore: Update minimum PHP versions
Souptik2001 Oct 7, 2022
684e1f1
chore: Update settings page screeenshot
Souptik2001 Oct 7, 2022
34ad185
Merge pull request #127 from rtCamp/feature/release-1.3.1
abhishekfdd Oct 7, 2022
98948d4
Add tests and action
Oct 27, 2022
0244f8e
update file
Oct 27, 2022
28c3496
update file
Oct 27, 2022
f1a8074
update file
Oct 27, 2022
e86b454
update file
Oct 27, 2022
4e13010
update file
Oct 27, 2022
381eb44
update file
Oct 27, 2022
074f4c8
update file
Oct 27, 2022
04d6819
Update the credentials
Oct 28, 2022
0e2becc
Update GH action
Nov 1, 2022
5304784
Addressed feedbacks
Nov 1, 2022
99a64db
Update the tests file
Nov 1, 2022
183ee5d
Rename 02_add-validate-clientid-secrete-test.spec.js to 02_validate-c…
pavanpatil1 Nov 2, 2022
cea8cb7
Add env file
Nov 2, 2022
56eae49
Update e2e-test.yml
pavanpatil1 Nov 3, 2022
4e64a0a
Update e2e-test.yml
pavanpatil1 Nov 7, 2022
46e1c52
Merge pull request #131 from rtCamp/automation/playwright
pooja-muchandikar Nov 7, 2022
b65ea35
Add both branches to yml file
pooja-muchandikar Nov 8, 2022
f90708d
Merge pull request #132 from rtCamp/update/branch-in-yml-file
juhi123 Nov 8, 2022
3d2fb5b
Update tested upto version to 6.1
Nov 14, 2022
6ee27a4
Merge pull request #133 from rtCamp/update/tested_upto_version
juhi123 Nov 16, 2022
9b87028
Delete .env
pavanpatil1 Nov 25, 2022
528830f
Fix the CI issue and push the Build
Nov 25, 2022
fe9772e
Fix the CI file and path issue:
Nov 25, 2022
40d52cd
Update the credentials
Nov 25, 2022
b6ecdd4
Merge pull request #134 from rtCamp/Fix-issue
pooja-muchandikar Nov 25, 2022
1e94741
Add Tesults to branch
Dec 1, 2022
0b33a7d
Call the pr-status file
Dec 1, 2022
0c4ee9c
Merge pull request #138 from rtCamp/add/tesults
pooja-muchandikar Dec 6, 2022
064831a
Merge branch 'develop' of github.com:rtCamp/login-with-google into de…
hbhalodia Feb 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
97 changes: 97 additions & 0 deletions .github/ci/main.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
#!/usr/bin/env bash

set -ex

######################################################
######################## VARS ########################
SITE_NAME='login-with-google.com'
SITE_ROOT="/var/www/$SITE_NAME/htdocs"
SITE_URL="http://$SITE_NAME/"
function ee() { wo "$@"; }
#####################################################

# Start required services for site creation
function start_services() {

echo "Starting services"
git config --global user.email "[email protected]"
git config --global user.name "nobody"
rm /etc/nginx/conf.d/stub_status.conf /etc/nginx/sites-available/22222 /etc/nginx/sites-enabled/22222
rm -rf /var/www/22222
ee stack start --nginx --mysql --php74
ee stack status --nginx --mysql --php74
}


# Create, setup and populate learn.rtcamp.com base site with data
function create_and_configure_site () {

ee site create $SITE_NAME --wp --php74
cd $SITE_ROOT/wp-content/plugins/
mkdir login-with-google
rsync -azh $GITHUB_WORKSPACE/ $SITE_ROOT/wp-content/plugins/login-with-google
echo "127.0.0.1 $SITE_NAME" >> /etc/hosts
ls
wp plugin activate login-with-google --allow-root
wp user create automation [email protected] --role=administrator --user_pass=automation --allow-root
wp theme activate twentytwentyone --allow-root
}


# Install WPe2e dependency
function install_playwright_package () {

cd $GITHUB_WORKSPACE/tests/e2e-playwright
npm install

}

#build packages
function build_package(){
cd $GITHUB_WORKSPACE/tests/e2e-playwright
npm run build
}

function install_playwright(){
cd $GITHUB_WORKSPACE/tests/e2e-playwright
npx playwright install
}

# Run test for new deployed site
function run_playwright_tests () {
cd $GITHUB_WORKSPACE/tests/e2e-playwright
npm run test-e2e:playwright -- specs/
}

function maybe_install_node_dep() {

if [[ -n "$NODE_VERSION" ]]; then

echo "Setting up $NODE_VERSION"
NVM_LATEST_VER=$(curl -s "https://api.github.com/repos/nvm-sh/nvm/releases/latest" |
grep '"tag_name":' |
sed -E 's/.*"([^"]+)".*/\1/') &&
curl -fsSL "https://raw.githubusercontent.com/nvm-sh/nvm/$NVM_LATEST_VER/install.sh" | bash
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

nvm install "$NODE_VERSION"
nvm use "$NODE_VERSION"

[[ -z "$NPM_VERSION" ]] && NPM_VERSION="latest" || echo ''
export npm_install=$NPM_VERSION
curl -fsSL https://www.npmjs.com/install.sh | bash
fi
}

function main() {
start_services
create_and_configure_site
maybe_install_node_dep
install_playwright_package
build_package
install_playwright
run_playwright_tests
}

main
68 changes: 68 additions & 0 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# e2e test for Login with google plugin.

name: CI for Login with google plugin test

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches:
- develop
- master
pull_request:
branches:
- develop
- master

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
Run-wpe2e-TestCase:
# The type of runner that the job will run on
name: Run Login with google plugin test Cases
runs-on: ubuntu-latest
env:
GMAIL_UNAME: ${{ secrets.GMAIL_UNAME }}
GMAIL_PASS: ${{ secrets.GMAIL_PASS }}
TESRESULT_TOKEN: ${{ secrets.TESRESULT_TOKEN }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
SHA: ${{ github.event.pull_request.head.sha }}
COMMIT_SHA: ${{ github.sha }}
PR_NUMBER: ${{ github.event.pull_request.number }}
working-directory: ./tests/e2e-playwright

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}

# Check node version
- name: Current directory and listings
run: |
pwd
ls -al
# Install config site
- name: Install and config site
uses: docker://rtcamp/base-wo:v1.0.0
env:
NODE_VERSION: 16
RCLONE_CONFIG: ${{ secrets.RCLONE_CONFIG }}

- name: Archive HTML Report on failure
if: failure()
uses: actions/upload-artifact@v1
with:
name: report
path: ./tests/e2e-playwright/uploads

- name: run PR status
if: ${{ always() }}
run: node ./tests/e2e-playwright/bin/pr-status.js
working-directory: ${{env.working_directory}}

- name: Cleanup
if: ${{ always() }}
uses: rtCamp/action-cleanup@master
109 changes: 102 additions & 7 deletions .github/workflows/phpunit_on_pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,107 @@
on: pull_request
name: PHPUnit
jobs:
runPHPCSInspection:
name: Run PHPUnit test
unit: #-----------------------------------------------------------------------
name: Unit test / PHP ${{ matrix.php }}
strategy:
fail-fast: false
matrix:
php: ['7.3', '7.4', '8.0']
runs-on: ubuntu-20.04

steps:
- name: Check out source code
uses: actions/checkout@v2

- name: Check existence of composer.json file
id: check_files
uses: andstor/file-existence-action@v1
with:
files: "composer.json, phpunit.xml.dist"

- name: Set up PHP environment
if: steps.check_files.outputs.files_exists == 'true'
uses: shivammathur/setup-php@v2
with:
php-version: '${{ matrix.php }}'
coverage: xdebug
tools: composer,cs2pr

- name: Get Composer cache Directory
if: steps.check_files.outputs.files_exists == 'true'
id: composer-cache
run: |
echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Use Composer cache
if: steps.check_files.outputs.files_exists == 'true'
uses: actions/cache@master
with:
path: ${{ steps['composer-cache'].outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Install dependencies
if: steps.check_files.outputs.files_exists == 'true'
run: COMPOSER_ROOT_VERSION=dev-master composer install --prefer-dist --no-progress --ignore-platform-reqs

- name: Setup problem matcher to provide annotations for PHPUnit
if: steps.check_files.outputs.files_exists == 'true'
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Run PHPUnit
if: steps.check_files.outputs.files_exists == 'true'
run: composer update && composer tests:unit

- name: Archive code coverage results
uses: actions/upload-artifact@v2
with:
name: code-coverage-report
path: /tmp/report/html

artifact-upload: #-----------------------------------------------------------------------
name: Push artifact to static site
runs-on: ubuntu-latest
needs: [unit]

steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run PHPUnit test
uses: docker://rtcamp/action-run-phpunit:v1.0.0
- name: Check out gh-reports repository
uses: actions/checkout@v2
with:
repository: rtCamp/gh-reports.rt.gw
token: ${{ secrets.RTBOT_TOKEN }}

- name: Download artifact
uses: actions/download-artifact@v2
with:
name: code-coverage-report
path: /tmp/report/html

- name: Move report into correct location
run: |
repo=$(echo ${GITHUB_REPOSITORY#rtCamp/})
rm -rf "$repo/$GITHUB_REF"
mkdir -p "$repo/$GITHUB_REF"
rsync -avhP /tmp/report/html/ "$repo/$GITHUB_REF/"

- name: Commit files
run: |
repo=$(echo ${GITHUB_REPOSITORY#rtCamp/})
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add "$repo"
git commit -m "artifcat report build: $GITHUB_REPOSITORY@$GITHUB_SHA"

- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.RTBOT_TOKEN }}
branch: main
repository: rtCamp/gh-reports.rt.gw

- name: Comment URL on PR
uses: unsplash/comment-on-pr@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
msg: "Code coverage report: https://gh-reports.rt.gw/login-with-google/${{ github.ref }}/"
check_for_duplicate_msg: true
1 change: 0 additions & 1 deletion .github/workflows/release_plugin_on_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
- name: WordPress Plugin Deploy
uses: rtCamp/action-wordpress-org-plugin-deploy@master
env:
CUSTOM_COMMAND: composer install --no-dev --optimize-autoloader && composer update
EXCLUDE_LIST: .github .gitignore .eslintignore phpunit.xml phpcs.xml tests README.md
SLUG: login-with-google
ASSETS_DIR: wp-assets
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/vendor/
.idea
node_modules/
.DS_Store
.phpunit.result.cache
Loading