Skip to content

Commit

Permalink
chore: disable commit actions in release test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anayeaye committed Sep 12, 2023
1 parent e783a5a commit 1381b01
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/deleteme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: DO NOT MERGE THIS TEST WORKFLOW

on:
push:
branches:
- fix/release-tagging

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'

- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}

- name: Install python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev,deploy,test]
- name: Run pre-commit
run: pre-commit run --all-files

fake-release:
runs-on: ubuntu-latest
concurrency: release
permissions:
id-token: write
contents: write

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
with:
no-changelog: true
no-commit: true
github_token: ${{ secrets.GITHUB_TOKEN }}

5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ match = "develop"
prerelease = true
prerelease_token = "rc"

[tool.semantic_release.branches.fix/release-tagging]
match = "fix/release-tagging"
prerelease = true
prerelease_token = "rc"

[tool.semantic_release.changelog]
template_dir = "templates"
changelog_file = "CHANGELOG.md"
Expand Down

0 comments on commit 1381b01

Please sign in to comment.