https://github.com/rlespinasse/git-commit-data-action

Action to expose git commit info

https://github.com/rlespinasse/git-commit-data-action

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.5%) to scientific vocabulary

Keywords

commit git github-actions hacktoberfest

Keywords from Contributors

interactive projection charts sequences transformers web-crawler snapshot-testing packaging document cycles
Last synced: 6 months ago · JSON representation

Repository

Action to expose git commit info

Basic Info
  • Host: GitHub
  • Owner: rlespinasse
  • License: mit
  • Language: Shell
  • Default Branch: v1.x
  • Homepage:
  • Size: 137 KB
Statistics
  • Stars: 41
  • Watchers: 2
  • Forks: 6
  • Open Issues: 0
  • Releases: 9
Topics
commit git github-actions hacktoberfest
Created almost 6 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing Funding License Code of conduct Codeowners Security

README.md

Git commit data action

This action exposes git commit data.

  • GITCOMMITSHA expose commit hash
  • GITCOMMITSHORT_SHA expose abbreviated commit hash
  • GITCOMMITAUTHOR expose Author name <author@email.tld>
  • GITCOMMITAUTHOR_NAME expose Author name
  • GITCOMMITAUTHOR_EMAIL expose author@email.tld
  • GITCOMMITCOMMITTER expose Committer name <committer@email.tld>
  • GITCOMMITCOMMITTER_NAME expose Committer name
  • GITCOMMITCOMMITTER_EMAIL expose committer@email.tld
  • GITCOMMITMESSAGE_SUBJECT expose The first line of the commit message
  • GITCOMMITMESSAGESUBJECTSANITIZED expose the-first-line-of-the-commit-message-in-sanitized-way
  • GITCOMMITMESSAGE_BODY expose The body of the commit message

Exposed environment variables

```yaml - name: Expose git commit data uses: rlespinasse/git-commit-data-action@v1

  • name: Print git commit data run: | echo "Get commit info" echo " - ${{ env.GITCOMMITSHA }}" echo " - ${{ env.GITCOMMITSHORTSHA }}" echo "Get author info" echo " - ${{ env.GITCOMMITAUTHOR }}" echo " - ${{ env.GITCOMMITAUTHORNAME }}" echo " - ${{ env.GITCOMMITAUTHOREMAIL }}" echo "Get committer info" echo " - ${{ env.GITCOMMITCOMMITTER }}" echo " - ${{ env.GITCOMMITCOMMITTERNAME }}" echo " - ${{ env.GITCOMMITCOMMITTEREMAIL }}" echo "Get message info" echo " - ${{ env.GITCOMMITMESSAGESUBJECT }}" echo " - ${{ env.GITCOMMITMESSAGESUBJECTSANITIZED }}" echo " - ${{ env.GITCOMMITMESSAGE_BODY }}" ```

Need other commit data

Feel free to contribute. Check out the developer guide

Owner

  • Name: Romain Lespinasse
  • Login: rlespinasse
  • Kind: user
  • Location: Lille, France
  • Company: @Sfeir

I'm not young enough to know everything.

GitHub Events

Total
  • Watch event: 2
  • Delete event: 7
  • Issue comment event: 2
  • Push event: 8
  • Pull request event: 13
  • Create event: 3
Last Year
  • Watch event: 2
  • Delete event: 7
  • Issue comment event: 2
  • Push event: 8
  • Pull request event: 13
  • Create event: 3

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 56
  • Total Committers: 5
  • Avg Commits per committer: 11.2
  • Development Distribution Score (DDS): 0.357
Past Year
  • Commits: 4
  • Committers: 2
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.25
Top Committers
Name Email Commits
Romain Lespinasse r****e@g****m 36
dependabot[bot] 4****] 13
semantic-release-bot s****t@m****t 5
maximilianschmelzer m****l@m****m 1
Jack Leerson 7****n 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 7
  • Total pull requests: 32
  • Average time to close issues: 3 months
  • Average time to close pull requests: 13 days
  • Total issue authors: 2
  • Total pull request authors: 4
  • Average comments per issue: 1.43
  • Average comments per pull request: 1.16
  • Merged pull requests: 31
  • Bot issues: 0
  • Bot pull requests: 14
Past Year
  • Issues: 0
  • Pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: 14 minutes
  • Issue authors: 0
  • Pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • rlespinasse (6)
  • yoavain (1)
Pull Request Authors
  • rlespinasse (21)
  • dependabot[bot] (19)
  • JackLeerson (1)
  • ghost (1)
Top Labels
Issue Labels
released (4) enhancement (4) bug (1)
Pull Request Labels
released (23) dependencies (13) github_actions (2) enhancement (1) bug (1) documentation (1)

Dependencies

.github/workflows/git-commit-data-action.yml actions
  • ./ * composite
  • actions/checkout v3 composite
  • docker://ffurrer/bats latest composite
  • rlespinasse/release-that v1 composite
.github/workflows/linter.yml actions
  • actions/checkout v4 composite
  • github/super-linter v5 composite
action.yml actions