Skip to content

Commit

Permalink
Make release.yml callable
Browse files Browse the repository at this point in the history
  • Loading branch information
alexchristy committed Nov 25, 2024
1 parent 8f4cc20 commit a00069d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ jobs:
tests:
uses: ./.github/workflows/tests.yml
with:
python-version: '3.10'
python-version: '3.10'

release:
uses: ./.github/workflows/release.yml
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
name: Prod Release

on:
push:
branches:
- main

workflow_call:

jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Prepare repository
run: git fetch --unshallow --tags
Expand Down

0 comments on commit a00069d

Please sign in to comment.