Skip to content

Commit

Permalink
fix: Release on any master push irrespective path (#55)
Browse files Browse the repository at this point in the history
* feat: switch run to utc 1855

* feat: add EMAIL_RECEIVER_NAME

* feat: add autocommit to version and pr creation for scheduler modification

* fix: yml path

* fix: add env version to job

* fix: pathspec

* feat: add env.TAG insert

* test: add cd

* test: remove echo

* add pwd

* add pwd

* add ls

* add ls

* add spaces

* use intendation

* feat: add workflows permissions

* feat: add workflows permissions

* test: write all

* revert write all

* add env

* test different tokens

* add token

* add token GH

* set token in checkout

* style: add emojis

* feat: remove on pr test

* fix: release on any push master

* minor change in dir
  • Loading branch information
seblum authored Aug 12, 2024
1 parent 29e5ab7 commit 56793e1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/CD_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ on:
push:
branches:
- master
paths:
- src/**
- poetry.Dockerfile
- pyproject.toml
- CHANGELOG.md

jobs:
release:
Expand Down Expand Up @@ -50,7 +45,7 @@ jobs:
git push origin v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}
poetry-version-tag:
name: "🗃️ Create Version Bump PR"
name: "🗃️ Create Poetry Version Bump PR"
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down Expand Up @@ -97,7 +92,7 @@ jobs:
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add pyproject.toml
git add ./pyproject.toml
git commit -m "Update version to $TAG_VERSION"
git push origin update-pyproject-version-$TAG_VERSION
-
Expand Down

0 comments on commit 56793e1

Please sign in to comment.