-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Two CI Improvements on Merge Requests
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
Showing
3 changed files
with
69 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters