Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromswinton/commit

✅ GitHub Action to create verified commits (Node 20)

License

NotificationsYou must be signed in to change notification settings

ChromeQ/commit

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Repository files navigation

This project is a fork ofswinton/commit to simply update the NodeJS version to avoid the complaints and deprecations of Github Actions.

image

Commit

✅ Create averified commit with GitHub Actions

code style: prettier

About

This action allows you to create a commit with GitHub Actions. Commits created with this actions will be marked asverified.

image

Usage

In your workflow, to commit a file./myfile, include a step like this:

    -name:Commit fileuses:chromeq/commit@v2.xwith:files:|          myfilecommit-message:Committing ./myfileref:refs/heads/my-branch

chromeq/commit only commits files that have changed.

To commit multiple files in a single commit, pass each file on a newline to thefiles input:

    -name:Commit filesuses:chromeq/commit@v2.xwith:files:|          path/to/myfile1          path/to/myfile2          path/to/myfile3commit-message:Committing filesref:refs/heads/my-branch

Inputs

Thetoken input is optional.

The following inputs arerequired:

  • files: Newline-separated list of files to be committed, relative to root of repository, e.g.
    myfile1
    myfile2
    ...
    myfileN
  • commit-message: Commit message to be used, e.g.Add ./myfile
  • ref: Fully qualified name of reference to be updated with commit, e.g.refs/heads/production. This referencemust already exist. Defaults to the repository's default branch ref.

Outputs

This action provides the following outputs:

  • commit-sha: SHA of created commit

About

✅ GitHub Action to create verified commits (Node 20)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript90.8%
  • JavaScript9.2%

[8]ページ先頭

©2009-2025 Movatter.jp