diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 01e088ee..92e37f4d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -47,6 +47,7 @@ jobs: DB_DATABASE: database/database.sqlite run: php artisan test - name: Tag tests-passed + if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' run: | git tag tests-passed git push origin tests-passed -f diff --git a/README.md b/README.md index 84b83688..b5682061 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Vinkas Lauth -[![Tests](https://github.com/vinkashq/lauth/actions/workflows/tests.yml/badge.svg)](https://github.com/vinkashq/lauth/actions/workflows/tests.yml) ![Docker Pulls](https://img.shields.io/docker/pulls/vinkas/lauth?logo=docker&logoColor=1D63ED&label=Pulls&labelColor=E5F2FC&color=1D63ED) +[![Tests](https://github.com/vinkashq/lauth/actions/workflows/tests.yml/badge.svg)](https://github.com/vinkashq/lauth/actions/workflows/tests.yml) [![Docker Pulls](https://img.shields.io/docker/pulls/vinkas/lauth?logo=docker&logoColor=1D63ED&label=Pulls&labelColor=E5F2FC&color=1D63ED)](https://hub.docker.com/r/vinkas/lauth) Laravel authentication server