Git Product home page Git Product logo

create-branch-from-tag's Issues

Warnings in actions log

Describe the bug
Warnings are displayed in actions log

To Reproduce
Run the action and observe the log

Expected behavior
No errors or warnings

Screenshots
image

Desktop (please complete the following information):
Not applicable

Smartphone (please complete the following information):
Not applicable

Additional context

Allow custom branch prefix

Is your feature request related to a problem? Please describe.
By default we are creating release@{tagName}, but if you allow the user to insert a custom prefix would make it easier to integrate with their git branches strategy.

Describe the solution you'd like

brach_prefix: string
required: false

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Branch prefix not working

Hi lablnet,

I tested the latest version and the branch prefix is not working:

Here is my code:

- name: "test release branch" uses: lablnet/[email protected] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: branch_prefix: 'release/' tag_name: "testag" owner: ${{ github.repository_owner }} repo: ${{ github.event.repository.name }}

Regards

Warnings in actions log at 1.0.4

Describe the bug
Warnings are displayed in actions log

To Reproduce
Run the action and observe the log

Expected behavior
No errors or warnings

Screenshots
image

Desktop (please complete the following information):
Not applicable

Smartphone (please complete the following information):
Not applicable

Additional context

Cannot find module '@actions/core' in v1.0.2

Describe the bug

node:internal/modules/cjs/loader:[10](https://github.com/.../.../actions/runs/7725079122/job/21058552793#step:3:11)51
  throw err;
  ^

Error: Cannot find module '@actions/core'
Require stack:
- /opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
    at Module._load (node:internal/modules/cjs/loader:901:27)
    at Module.require (node:internal/modules/cjs/loader:[11](https://github.com/.../.../actions/runs/7725079122/job/21058552793#step:3:12)15:19)
    at require (node:internal/modules/helpers:[13](https://github.com/.../.../actions/runs/7725079122/job/21058552793#step:3:14)0:18)
    at 734 (/opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js:71:33)
    at __nccwpck_require__ (/opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js:1[14](https://github.com/.../.../actions/runs/7725079122/job/21058552793#step:3:15):42)
    at [26](https://github.com/.../.../actions/runs/7725079122/job/21058552793#step:3:27)5 (/opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js:7:14)
    at __nccwpck_require__ (/opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js:114:42)
    at /opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js:133:13
    at /opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js:139:3 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js'
  ]

To Reproduce

Run the action and observe the log

Expected behavior

No errors

Screenshots

Not applicable

Desktop (please complete the following information):

Not applicable

Smartphone (please complete the following information):

Not applicable

Additional context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.