actions-ecosystem / action-bump-semver Goto Github PK
View Code? Open in Web Editor NEW⏫ GitHub Action to bump the semver version up
Home Page: https://github.com/marketplace/actions/actions-ecosystem-bump-semver
License: Apache License 2.0
⏫ GitHub Action to bump the semver version up
Home Page: https://github.com/marketplace/actions/actions-ecosystem-bump-semver
License: Apache License 2.0
Update to, at least, node16 in action.yml
.
When running a workflow with actions-ecosystem/action-bump-semver@v1
:
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions-ecosystem/action-bump-semver
Ability to pass —preid option to server
Specify a prefixed
This is online with the server documentation
https://www.npmjs.com/package/semver
--preid <identifier>
Identifier to be used to prefix premajor, preminor,
prepatch or prerelease version increments.
I already have a patch for this
If I run this action, then I observe some newly created files in the .git/ directory have permissions of root.root.
Permissions end with user 'runner' and group 'docker', which is the default of github
This is likely because the using: 'node12'
runs inside a docker container as the root user, and those permissions propagate outside the container as well.
When using other actions from https://github.com/actions-ecosystem it all works OK because everything runs as root inside docker and can write to the .git folder just fine.
When you try and run other steps that aren't in docker containers, it then breaks. For instance, if you run this github action, then do:
git fetch --depth=1
It'll complain about not having permission to write to files in the .git folder. If you look in there, some directories will have root.root as owner, others runner.docker.
Solution ideas: (not sure which is best/easiest/right answer)
sudo chown -R $USER:$USER ./.git
(probably the easiest fix)I might take a stab at fixing this in a PR real quick
When using actions-ecosystem/action-bump-semver@v1
:
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
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.