Skip to content

Commit

Permalink
Merge pull request #11 from opentargets/dev
Browse files Browse the repository at this point in the history
chore: trigger release process
  • Loading branch information
project-defiant authored Aug 13, 2024
2 parents e861b0a + 422b3fc commit bf30b0d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,24 @@ name: Tag

concurrency:
group: deploy
cancel-in-progress: false # prevent hickups with semantic-release
# NOTE: prevent hickups with semantic-release
cancel-in-progress: false

env:
PYTHON_VERSION_DEFAULT: "3.10.8"

jobs:
tag:
# NOTE: only trigger the workflow when the commit is not from the GitHubActions bot (prevent self-triggering)
if: github.event.commits[0].author.name != 'GitHubActions'
runs-on: ubuntu-latest
concurrency: release
environment: DEV
permissions:
contents: write

steps:
# NOTE: commits using GITHUB_TOKEN does not trigger workflows
# NOTE: commits using GITHUB_TOKEN does not trigger workflows and we want to trigger PiPY from tag
- uses: actions/create-github-app-token@v1
id: trigger-token
with:
Expand All @@ -33,7 +36,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false
ref: main

- name: Python Semantic Release
id: semrelease
# v9.6.0 is required due to the python v3.12 in the newer version of semantic release action which
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ dep-check: ## check for outdated dependencies
@echo "Running dependencies checks..."
@rye run deptry . --known-first-party $(APP_NAME)

build: ## build distributions
@echo "Building distributions..."
@rye build

check: lint format test type-check dep-check ## run all checks

help: ## This is help
Expand Down

0 comments on commit bf30b0d

Please sign in to comment.