Skip to content

Commit

Permalink
Merge pull request #4 from lorengordon/optional-test
Browse files Browse the repository at this point in the history
  • Loading branch information
lorengordon authored Feb 6, 2023
2 parents 7288e05 + 9dee8da commit 15ec290
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.0.0
current_version = 1.0.1
commit = True
message = Bumps version to {new_version}
tag = False
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ jobs:
needs:
- lint
- test
# The test workflow is optional, and may be "skipped". The release should be
# created as long as the test does not fail. See also:
# <https://samanpavel.medium.com/github-actions-conditional-job-execution-e6aa363d2867>
if: |
always() &&
needs.lint.result == 'success' &&
(needs.test.result == 'success' || needs.test.result == 'skipped')
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

### 1.0.0
### [1.0.1](https://github.com/plus3it/actions-workflows/releases/tag/1.0.1)

**Commit Delta**: N/A
**Released**: 2023.02.06

**Released**: TBD
**Summary**:

* Allows test job to be optional in release workflow

### [1.0.0](https://github.com/plus3it/actions-workflows/releases/tag/1.0.0)

**Released**: 2023.01.24

**Summary**:

Expand Down

0 comments on commit 15ec290

Please sign in to comment.