diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6176ee0..4755123 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,12 +1,11 @@ name: 🆙 Release on: - push: + release: branches: - master - main - tags: ['v[0-9].[0-9]+.[0-9]+'] - release: + tags: [ 'v[0-9].[0-9]+.[0-9]+' ] types: [ published ] jobs: @@ -14,6 +13,7 @@ jobs: name: Deploy environment: Deployment runs-on: ubuntu-latest + if: github.event_name == 'release' && github.event.action == 'created' steps: - uses: actions/checkout@v3 diff --git a/pyproject.toml b/pyproject.toml index 3f9c54f..82feb4b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -104,6 +104,12 @@ django_settings_module = "testproject.settings" requires = ["poetry>=0.12"] build-backend = "poetry.masonry.api" +[tool.autopub] +git-username = "shritesh99" +git-email = "shritesh.sj@gmail.com" +project-name = "strawberry-django-social-auth" +append-github-contributor = true + [tool.ruff] line-length = 100 select = ["E", "F", "ERA", "I"]