Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: EndBug/add-and-commit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v9.1.3
Choose a base ref
...
head repository: EndBug/add-and-commit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v9.1.4
Choose a head ref
Loading
Showing with 1,824 additions and 1,299 deletions.
  1. +38 −1 .all-contributorsrc
  2. +4 −4 .github/workflows/codeql-analysis.yml
  3. +1 −1 .github/workflows/export-labels.yml
  4. +1 −1 .github/workflows/label-sync.yml
  5. +4 −4 .github/workflows/test.yml
  6. +1 −2 CONTRIBUTING.md
  7. +9 −5 README.md
  8. +3 −3 action.yml
  9. +2 −2 lib/index.js
  10. +1,735 −1,253 package-lock.json
  11. +26 −23 package.json
39 changes: 38 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -479,8 +479,45 @@
"contributions": [
"security"
]
},
{
"login": "justanotheranonymoususer",
"name": "justanotheranonymoususer",
"avatar_url": "https://avatars.githubusercontent.com/u/5781692?v=4",
"profile": "https://github.com/justanotheranonymoususer",
"contributions": [
"bug"
]
},
{
"login": "cderv",
"name": "Christophe Dervieux",
"avatar_url": "https://avatars.githubusercontent.com/u/6791940?v=4",
"profile": "https://cderv.rbind.io",
"contributions": [
"doc"
]
},
{
"login": "deining",
"name": "Andreas Deininger",
"avatar_url": "https://avatars.githubusercontent.com/u/18169566?v=4",
"profile": "https://github.com/deining",
"contributions": [
"doc"
]
},
{
"login": "mdboom",
"name": "Michael Droettboom",
"avatar_url": "https://avatars.githubusercontent.com/u/38294?v=4",
"profile": "http://droettboom.com",
"contributions": [
"maintenance"
]
}
],
"contributorsPerLine": 7,
"skipCi": true
"skipCi": true,
"commitType": "docs"
}
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -31,19 +31,19 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below).
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -57,4 +57,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/export-labels.yml
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ jobs:
# This is needed if you're dealing with private repos.
token: ${{ secrets.GITHUB_TOKEN }}

# Set this to `true` if you want to get the raw API reponse. Defaults to `false`.
# Set this to `true` if you want to get the raw API response. Defaults to `false`.
raw-result: false

# By default every label entry will have an `aliases` property set to an empty array.
2 changes: 1 addition & 1 deletion .github/workflows/label-sync.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ jobs:
name: Run EndBug/label-sync
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: EndBug/label-sync@v2
with:
config-file: '.github/labels.yml'
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -9,8 +9,8 @@ jobs:
name: Build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
- run: npm ci
@@ -20,8 +20,8 @@ jobs:
name: Lint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
- run: npm ci
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -6,8 +6,7 @@ If you want to contribute to this project, check out this steps!
2. Either [open a new issue](https://github.com/EndBug/add-and-commit/issues/new/choose) or comment on an existing one to let everyone know what you're working on.
3. Edit the source files to implement your feature or fix.
4. Build the action and test it in a test repo.
5. Update the [action manifest](./action.yml) AND the [README](./README.md) with your changes.
5. Update the [action manifest](./action.yml) AND the [README](./README.md) with your changes.
6. [Open a PR](https://github.com/EndBug/add-and-commit/compare).

Thanks! 💖

14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -140,7 +140,7 @@ If you want to commit files "across different branches", here are two ways to do

### Tagging

You can use the `tag` option to enter the arguments for a `git add` command. In order for the action to isolate the tag name from the rest of the arguments, it should be the first word not preceded by an hyphen (e.g. `-a tag-name -m "some other stuff"` is ok).
You can use the `tag` option to enter the arguments for a `git tag` command. In order for the action to isolate the tag name from the rest of the arguments, it should be the first word not preceded by an hyphen (e.g. `-a tag-name -m "some other stuff"` is ok).
You can also change the arguments of the push command for tags: every argument in the `tag_push` input will be appended to the `git push --tags` command.
For more info on how git arguments are parsed, see [the "Git arguments" section](#git-arguments).

@@ -166,7 +166,7 @@ If you want to make some changes, you have to checkout the branch the PR is comi
You can set it up like this:

```yaml
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
@@ -269,10 +269,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
- name: Install dependencies
run: npm install
@@ -304,7 +304,7 @@ jobs:
steps:
# If you need to, you can check out your repo to a different location
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: './pathToRepo/'
@@ -399,6 +399,10 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://azeemba.com/"><img src="https://avatars.githubusercontent.com/u/2160795?v=4?s=100" width="100px;" alt="Azeem Bande-Ali"/><br /><sub><b>Azeem Bande-Ali</b></sub></a><br /><a href="https://github.com/EndBug/add-and-commit/commits?author=azeemba" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ViacheslavKudinov"><img src="https://avatars.githubusercontent.com/u/56436734?v=4?s=100" width="100px;" alt="Viacheslav Kudinov"/><br /><sub><b>Viacheslav Kudinov</b></sub></a><br /><a href="#security-ViacheslavKudinov" title="Security">🛡️</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/justanotheranonymoususer"><img src="https://avatars.githubusercontent.com/u/5781692?v=4?s=100" width="100px;" alt="justanotheranonymoususer"/><br /><sub><b>justanotheranonymoususer</b></sub></a><br /><a href="https://github.com/EndBug/add-and-commit/issues?q=author%3Ajustanotheranonymoususer" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://cderv.rbind.io"><img src="https://avatars.githubusercontent.com/u/6791940?v=4?s=100" width="100px;" alt="Christophe Dervieux"/><br /><sub><b>Christophe Dervieux</b></sub></a><br /><a href="https://github.com/EndBug/add-and-commit/commits?author=cderv" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/deining"><img src="https://avatars.githubusercontent.com/u/18169566?v=4?s=100" width="100px;" alt="Andreas Deininger"/><br /><sub><b>Andreas Deininger</b></sub></a><br /><a href="https://github.com/EndBug/add-and-commit/commits?author=deining" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://droettboom.com"><img src="https://avatars.githubusercontent.com/u/38294?v=4?s=100" width="100px;" alt="Michael Droettboom"/><br /><sub><b>Michael Droettboom</b></sub></a><br /><a href="#maintenance-mdboom" title="Maintenance">🚧</a></td>
</tr>
</tbody>
</table>
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ inputs:
required: false
committer_name:
description: The name of the custom committer you want to use
required: false
required: false
committer_email:
description: The email of the custom committer you want to use
required: false
@@ -59,7 +59,7 @@ inputs:
tag_push:
description: Arguments for the git push --tags command (any additional argument will be added after --tags)
required: false

# Input not required from the user
github_token:
description: The token used to make requests to the GitHub API. It's NOT used to make commits and should not be changed.
@@ -81,7 +81,7 @@ outputs:
description: Whether the action has pushed a tag.

runs:
using: node16
using: node20
main: lib/index.js

branding:
4 changes: 2 additions & 2 deletions lib/index.js

Large diffs are not rendered by default.

Loading