Skip to content

Commit

Permalink
ci: switch scheduled weekly releases into on main branch push releases (
Browse files Browse the repository at this point in the history
#683)

* ci: switch scheduled weekly releases into on main branch push releases

* ci: replace redundant main health with release health

* style: fix formatting
  • Loading branch information
rostislav-simonik authored Jul 26, 2023
1 parent e2e5e5b commit 20b53fc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 19 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/main-health.yml

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ name: Release

on:
workflow_dispatch:
schedule:
- cron: '0 7 * * MON'
push:
branches:
- main

jobs:
validate:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:

jobs:
get-lts-versions:
name: Retrieve Node.js lts versions
runs-on: ubuntu-latest
outputs:
matrix_lts_versions: ${{ steps.get-lts-versions.outputs.matrix_lts_versions }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<h1 align="center"><a style="color:black;" href="https://graphql-nexus.github.io/nexus-prisma">nexus-prisma</a></h1>
</p>

[![Main health](https://github.com/graphql-nexus/nexus-prisma/actions/workflows/main-health.yml/badge.svg)](https://github.com/graphql-nexus/nexus-prisma/actions/workflows/main-health.yml)
[![Release health](https://github.com/graphql-nexus/nexus-prisma/actions/workflows/release.yml/badge.svg)](https://github.com/graphql-nexus/nexus-prisma/actions/workflows/release.yml)

[Prisma](https://prisma.io) plugin for [Nexus](https://nexusjs.org).

Expand Down

0 comments on commit 20b53fc

Please sign in to comment.