Skip to content

Commit

Permalink
chore: editing workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Jan 31, 2024
1 parent 639ba42 commit a059f50
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release
name: pypi_release

# define when this workflow is triggered
on:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: push
name: semantic_release

# define when this workflow is triggered
on:
Expand All @@ -9,16 +9,13 @@ on:

jobs:
# determine appropriate version number, update changelog, and create a release commit
release:
semantic-release:
name: Semantic Release
runs-on: ubuntu-latest
concurrency: release
# concurrency: release
permissions:
id-token: write
contents: write
environment:
name: testpypi
url: https://pypi.org/p/polartoolkit
steps:
# checkout the repo and supply a PAT for the changelog update commit.
- id: checkout
Expand All @@ -32,3 +29,6 @@ jobs:
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.PAT }}
changelog: "true"
push: "true"

2 changes: 1 addition & 1 deletion .github/workflows/semantic_release_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:

jobs:
# dry run of semantic release without changing anything
release:
semantic-release-check:
name: Semantic Release Check
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit a059f50

Please sign in to comment.