From cbe0a8f4209a1ad0dec43ddab5c842e388293820 Mon Sep 17 00:00:00 2001 From: Donhector <2475379+donhector@users.noreply.github.com> Date: Wed, 1 Dec 2021 12:41:29 +0100 Subject: [PATCH] refactor(cleanup): cleanup unused code (#33) --- .cz.toml | 5 ----- .github/workflows/{release.yml => cd.yml} | 12 ---------- .github/workflows/tag.yml | 27 ----------------------- .releaserc.yml => .releaserc.yaml | 0 4 files changed, 44 deletions(-) rename .github/workflows/{release.yml => cd.yml} (84%) delete mode 100644 .github/workflows/tag.yml rename .releaserc.yml => .releaserc.yaml (100%) diff --git a/.cz.toml b/.cz.toml index f3a1b42..8e2b67a 100644 --- a/.cz.toml +++ b/.cz.toml @@ -1,10 +1,5 @@ [tool.commitizen] name = "cz_customize" -#version = "1.3.0" -#tag_format = "v$version" -#bump_message = "bump: $current_version → $new_version" -#update_changelog_on_bump = true -#annotated_tag = true [tool.commitizen.customize] message_template = "{{type}}{% if scope %}({{scope}}){% endif %}{% if is_breaking_change %}!{% endif %}: {{subject}}{% if body %}\n\n{{body}}{% endif %}{% if footer %}\n\n{{footer}}{% endif %}" diff --git a/.github/workflows/release.yml b/.github/workflows/cd.yml similarity index 84% rename from .github/workflows/release.yml rename to .github/workflows/cd.yml index a0e0e62..d039082 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/cd.yml @@ -3,8 +3,6 @@ name: CD on: # yamllint disable-line rule:truthy push: - # tags: - # - 'v*.*.*' branches: - master - main @@ -64,13 +62,3 @@ jobs: ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} ${GITHUB_REPOSITORY%%/*} ${GITHUB_REPOSITORY#*/} - - # - name: Get the tag version - # id: get_version - # run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/} - - # - name: Release to Github - # uses: softprops/action-gh-release@v1 - # with: - # tag_name: ${{ steps.get_version.outputs.VERSION }} - # generate_release_notes: true diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml deleted file mode 100644 index 957b999..0000000 --- a/.github/workflows/tag.yml +++ /dev/null @@ -1,27 +0,0 @@ ---- -# name: Tag - -# on: # yamllint disable-line rule:truthy -# push: -# branches: -# - main -# workflow_dispatch: - -# jobs: -# tag: -# runs-on: ubuntu-latest -# steps: -# - uses: actions/checkout@v2 -# with: -# fetch-depth: '0' - -# # The following actions calculates the next version based on the conventional commit messages -# # and uses the calculated version to create and push a new tag. If pushing the tag needs to -# # trigger another github workflow, you must then use a Personal Access Token instead of the -# # default ${{ secrets.GITHUB_TOKEN }} since it lacks permissions to trigger other workflows -# # See https://github.community/t/action-does-not-trigger-another-on-push-tag-action/17148/7 -# - name: Bump version and push tag -# id: tag_version -# uses: mathieudutour/github-tag-action@v6.0 -# with: -# github_token: ${{ secrets.PAT_REPO_FULL }} diff --git a/.releaserc.yml b/.releaserc.yaml similarity index 100% rename from .releaserc.yml rename to .releaserc.yaml