Skip to content

Commit

Permalink
Two CI Improvements on Merge Requests
Browse files Browse the repository at this point in the history
CI: Created a GitVersioniser Preview Action
CI: Removed duplicate linter jobs ran on Merge Requests #patch
  • Loading branch information
Marcel committed Aug 28, 2022
1 parent 6637466 commit 2473240
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 6 deletions.
69 changes: 69 additions & 0 deletions .github/workflows/GitVersioniser-Preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: GitVersioniser (Preview Only)
on:
pull_request:
branches: [main]
jobs:
Preview_Next_Version:
runs-on: ubuntu-latest
name: Repository Versioning via GitVersioniser
steps:
- name: Repository Checkout
uses: actions/checkout@v3
with:
path: target_repository
fetch-depth: 0
- name: Running GitVersioniser
id: gitversioniser
uses: luzkan/GitVersioniser@main
with:
# ===========================
# Credentials
# ---------------------------
# Versioniser Git Credentials
# ----
versioniser_username: "GitVersioniser"
versioniser_email: "[email protected]"

# ===========================
# Patterns
# ---------------------------
# Increment Tags
# ----
commit_pattern_increment_tags: "HashtagExplicit"
# ---------------------------
# Change Tags
# ----
commit_pattern_change_tags: "All"

# ===========================
# Routines
# ---------------------------
# Versioning
# ----
routine_version: "VersionTagInCommitsTillLastGitVersioniserCommit"
# ---------------------------
# Contributing
# ----
routine_should_contribute: "Never" # this disables the GitVersioniser, but allows to check the result before merging
routine_commiting: "Null"
routine_tagging: "Never"
# ---------------------------
# Commit Message
# ----
routine_commit_message_describe_changes: "WithEmoji"
routine_commit_message_format_version_tag: "FullButOnlyDigits"
routine_commit_message_place_version_tag: "Prefix"
routine_commit_message_summarize_changes: "WithEmojiCounted"
# ---------------------------
# Tagging
# ----
routine_prefix_tag_with_v: "Never"
# ---------------------------
# Changelog Handling
# -----
routine_changelog: "CommitChangeTags"
# ---------------------------
# File Versioning
# ----
routine_file_updater: "VersioniseFiles"
versioned_files: "package.json"
2 changes: 0 additions & 2 deletions .github/workflows/Linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ name: Linters

on:
push:
pull_request:
branches: [master, main]

env: # Comment env block if you do not want to apply fixes
APPLY_FIXES: none # When active, APPLY_FIXES must also be defined as environment variable (in github/workflows/mega-linter.yml or other CI tool)
Expand Down
4 changes: 0 additions & 4 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ All notable changes to this project will be documented in this file.

- Fowler name in Alternative Classes with Different Interfaces #patch



## [[`1.0.12`]] - 2022-08-21

### Other
Expand All @@ -36,8 +34,6 @@ All notable changes to this project will be documented in this file.

- fix(binary-operator-in-name.md): correct typo #patch



## [[`1.0.10`]] - 2022-08-15

### Architecture
Expand Down

0 comments on commit 2473240

Please sign in to comment.