Skip to content

Commit

Permalink
GitHub Actions: releases: confirm commit exists on release branch (#1312
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jayaddison authored Oct 21, 2024
1 parent 74808e3 commit 07bc48e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check that the release commit can be found in a release branch
run: git branch main v14 --contains ${{ github.sha }} | egrep '.+'
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Check that the release commit can be found in a release branch
run: git branch main v14 --contains ${{ github.sha }} | egrep '.+'
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 07bc48e

Please sign in to comment.