Skip to content

Commit

Permalink
refactor: rebuild action with node.js in preparation of new version-b…
Browse files Browse the repository at this point in the history
…umper tool version" (#45)

BREAKING CHANGE: 

<h3>This PR introduces BREAKING CHANGES!</h3>

[Tool PR](TomerFi/version-bumper#165)

<ul>

<li>The action was rebuilt using Node.js.</li>

<li>
Changes in the action flags:
  <ul>
  <li><strong>changelog</strong> was removed.</li>
  <li><strong>preset</strong> was removed.</li>
<li><strong>folder</strong> was changed to <strong>path</strong>. It's
worth mentioning the folder/path requires a
full path and not a folder relative to the workspace. (<em>folder</em>
will eventually be removed).</li>
<li><strong>bumpoverride</strong> was changed to <strong>bump</strong>
(<em>bumpoverride</em> will eventually be removed).
  </li>
  </ul>
</li>
<br/>

</ul>

---------

Signed-off-by: Tomer Figenblat <[email protected]>
  • Loading branch information
TomerFi authored Feb 9, 2024
1 parent 5cab3f4 commit 86032e8
Show file tree
Hide file tree
Showing 21 changed files with 24,803 additions and 863 deletions.
21 changes: 0 additions & 21 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,30 +1,9 @@
# editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true

[**.{yaml,yml}]
indent_style = space
indent_size = 2
max_line_length = 100
trim_trailing_whitespace = true

[**.md]
max_line_length = 120
trim_trailing_whitespace = false

[**.{sh,bash,zsh,csh,ksh,fish}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[Makefile*]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[**.{json,.all-contributorsrc}]
indent_size = 2
12 changes: 12 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
root: true
parserOptions:
ecmaVersion: latest
env:
node: true
commonjs: true
extends:
- "eslint:recommended"
- "plugin:editorconfig/all"
plugins:
- "editorconfig"
136 changes: 0 additions & 136 deletions .gitattributes

This file was deleted.

2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ updates:
assignees:
- "tomerfi"

- package-ecosystem: "docker"
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: CI

on:
pull_request:
branches:
- master
push:
branches:
- master
paths:
- '.dist/**'
- 'action.js'
- 'action.yml'
- 'package.json'
- 'package-lock.json'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
pull-requests: read

jobs:
test:
uses: ./.github/workflows/test_action.yml
build:
needs: test
uses: ./.github/workflows/verify_dist.yml
134 changes: 0 additions & 134 deletions .github/workflows/pr.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_dispatch:
inputs:
title:
description: "Release title"
description: "Release title (blank for tag)"
required: false

jobs:
Expand Down
Loading

0 comments on commit 86032e8

Please sign in to comment.