Comments (9)
Oh, I get it. I'll take a look and see what I can do then 👍
from add-and-commit.
You're probably right, thanks for the issue!
from add-and-commit.
What about Commit from GitHub Actions (EndBug/add-and-commit)
, is it ok?
from add-and-commit.
I mean using the name of the workflow/job(maybe even step) that it was used from, so for example it would default to Commit from GitHub Actions (Build/Build compiled JS version)
when used here:
Based on this, GITHUB_WORKFLOW env var is available. (I don't know if the job/step name is available)
from add-and-commit.
It seems like the GITHUB_WORKFLOW
is accessible as a variable, but the actual job that's running can only be accessed via the github
context: that means if you write ${{ github.job }}
inside the commit message parameter it will be parsed, but I don't think I can access it, since it's not an env variable.
What about Commit from GitHub Actions ($GITHUB_WORKFLOW)
then?
from add-and-commit.
Sounds good, most of the use cases will be clearly recognizable just by the workflow name (And you can still specify your own message if you need to commit multiple times inside a workflow and want to make them easily distinguishable)
from add-and-commit.
@all-contributors add @Cyberbeni for ideas
from add-and-commit.
I've put up a pull request to add @Cyberbeni! 🎉
from add-and-commit.
Ok, the change is published in v5.1.0
(mirrored by v5
and latest
)
Thanks again for the issue ;)
from add-and-commit.
Related Issues (20)
- Permission denied when running within a composite action HOT 1
- v8 and v9 fail for the second target OS HOT 4
- support pull: true option HOT 1
- How to get push working when another commit was pushed? HOT 3
- `commit_sha` returns the full SHA instead of the 7-character SHA
- Support Disabling\Enabling enforce_admins As Part of Push HOT 5
- Avoid pulling if a new branch was just created HOT 1
- Is there a dry-run input? HOT 1
- suggestion: retry push logic HOT 1
- Pre-Commit script HOT 2
- Warning: There are environment variables missing from this runtime, but would be present on GitHub HOT 4
- Warning: The set-output command is deprecated and will be disabled soon HOT 2
- "add" with array input doesn't seem to work HOT 2
- Error with repository ownership HOT 4
- Error: fatal: detected dubious ownership in repository HOT 1
- It doesn't work for me HOT 5
- Status Check war reseted after Commit HOT 6
- Fetch only one branch for performance issues HOT 4
- Node 20 support HOT 3
- False reporting of Working tree clean. Nothing to commit. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from add-and-commit.