lablnet / create-branch-from-tag Goto Github PK
View Code? Open in Web Editor NEWThis action will create a new branch from a tag.
Home Page: https://github.com/marketplace/actions/create-a-branch
License: MIT License
This action will create a new branch from a tag.
Home Page: https://github.com/marketplace/actions/create-a-branch
License: MIT License
Describe the bug
Warnings are displayed in actions log
To Reproduce
Run the action and observe the log
Expected behavior
No errors or warnings
Desktop (please complete the following information):
Not applicable
Smartphone (please complete the following information):
Not applicable
Additional context
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.
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
Describe the bug
Warnings are displayed in actions log
To Reproduce
Run the action and observe the log
Expected behavior
No errors or warnings
Desktop (please complete the following information):
Not applicable
Smartphone (please complete the following information):
Not applicable
Additional context
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.