Skip to content

Commit

Permalink
Remove automatic versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Oct 16, 2024
1 parent 3624187 commit a09fba5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 75 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,6 @@ jobs:
pip install black
- name: Check formatting
run: black . -l 79 --check
check-version:
name: Check version
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all tags and branches
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Build changelog
run: pip install "yaml-changelog>=0.1.7" && make changelog
- name: Preview changelog update
run: ".github/get-changelog-diff.sh"
- name: Check version number has been properly updated
run: ".github/is-version-number-acceptable.sh"
test:
name: Build and test
runs-on: ubuntu-latest
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
name: Push

on:
workflow_run:
workflows: ["Update versioning"]
types: [completed]
push:
branches:
- main

jobs:
lint:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Lint
steps:
- uses: actions/checkout@v4
Expand All @@ -27,7 +26,6 @@ jobs:
test:
name: Build and test
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -62,7 +60,6 @@ jobs:
publish-to-pypi:
name: Publish to PyPI
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -87,7 +84,6 @@ jobs:
docker:
name: Docker
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down
48 changes: 0 additions & 48 deletions .github/workflows/update_versioning.yaml

This file was deleted.

0 comments on commit a09fba5

Please sign in to comment.