Skip to content

Commit

Permalink
build(deps): bump super-linter/super-linter from 6.8.0 to 7.1.0 (#26)
Browse files Browse the repository at this point in the history
* build(deps): bump super-linter/super-linter from 6.8.0 to 7.1.0

Bumps [super-linter/super-linter](https://github.com/super-linter/super-linter) from 6.8.0 to 7.1.0.
- [Release notes](https://github.com/super-linter/super-linter/releases)
- [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md)
- [Commits](super-linter/super-linter@b4515bd...b92721f)

---
updated-dependencies:
- dependency-name: super-linter/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fixup linting

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
  • Loading branch information
dependabot[bot] and dsanders11 authored Sep 2, 2024
1 parent 1c9f157 commit 92a1555
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Lint Codebase
id: super-linter
uses: super-linter/super-linter/slim@b4515bd4ad9d0aa4681960e053916ab991bdbe96 # v6.8.0
uses: super-linter/super-linter/slim@b92721f792f381cedc002ecdbb9847a15ece5bb8 # v7.1.0
env:
DEFAULT_BRANCH: main
FILTER_REGEX_EXCLUDE: dist/**/*
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist/
node_modules/
coverage/
**/*.yml
2 changes: 1 addition & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"@semantic-release/github",
"semantic-release-major-tag"
],
"branches": [ "main" ]
"branches": ["main"]
}
49 changes: 30 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,36 @@
[![GitHub Super-Linter](https://github.com/dsanders11/github-app-commit-action/actions/workflows/linter.yml/badge.svg)](https://github.com/super-linter/super-linter)
[![CI](https://github.com/dsanders11/github-app-commit-action/actions/workflows/ci.yml/badge.svg)](https://github.com/electron/github-app-auth-action/actions/workflows/ci.yml)

> GitHub Action which makes it simple to make verified Git commits as a GitHub app
> GitHub Action which makes it simple to make verified Git commits as a GitHub
> app
## Usage

### Authentication

This action requires a GitHub app installation token. An authentication token for
the app can be easily generated in the GitHub Actions workflow using
This action requires a GitHub app installation token. An authentication token
for the app can be easily generated in the GitHub Actions workflow using
[`electron/github-app-auth-action`](https://github.com/electron/github-app-auth-action)
. The app must have the "Contents" (read and write) permission and be installed on
the repository.
. The app must have the "Contents" (read and write) permission and be installed
on the repository.

### Staging Changes

Stage changes for the commit as you normally would, but to commit them use the action
instead of running `git commit`. The changes to commit will be detected automatically.
Stage changes for the commit as you normally would, but to commit them use the
action instead of running `git commit`. The changes to commit will be detected
automatically.

### Updating Existing Ref

If you want to update an existing ref, you should ensure that ref is checked out in
the current Git checkout (you can use the `ref` input for `actions/checkout`). You
can force the update using the `force` input.
If you want to update an existing ref, you should ensure that ref is checked out
in the current Git checkout (you can use the `ref` input for
`actions/checkout`). You can force the update using the `force` input.

### Multiple Commits

If you want to make multiple commits one after the other, be sure to run a `git pull`
after using the action so that the working tree is up-to-date before the next commit.
If you want to make multiple commits one after the other, be sure to run a
`git pull` after using the action so that the working tree is up-to-date before
the next commit.

### Example

Expand Down Expand Up @@ -60,20 +63,28 @@ jobs:
### Inputs
- `fail-on-no-changes` - *(optional)* Whether or not to set action failure if there are no changes to commit (default: `true`)
- `force` - *(optional)* Whether to force the update or to make sure the update is a fast-forward update when updating an existing ref (default: `false`)
- `fail-on-no-changes` - _(optional)_ Whether or not to set action failure if
there are no changes to commit (default: `true`)
- `force` - _(optional)_ Whether to force the update or to make sure the update
is a fast-forward update when updating an existing ref (default: `false`)
- `message` - **(required)** The commit message
- `owner` - *(optional)* The owner of the GitHub repository. Defaults to the owner of the repository this action is running in.
- `ref` - *(optional)* Git reference to associate the commit with (e.g. `main`). If it does not exist it will be created. Defaults to the the current checkout ref.
- `repository` - *(optional)* The GitHub repository to commit to. Defaults to the repository this action is running in.
- `owner` - _(optional)_ The owner of the GitHub repository. Defaults to the
owner of the repository this action is running in.
- `ref` - _(optional)_ Git reference to associate the commit with (e.g. `main`).
If it does not exist it will be created. Defaults to the the current checkout
ref.
- `repository` - _(optional)_ The GitHub repository to commit to. Defaults to
the repository this action is running in.
- `token` - **(required)** GitHub App installation access token
- `working-directory` - *(optional)* The working directory. Defaults to the current working directory.
- `working-directory` - _(optional)_ The working directory. Defaults to the
current working directory.

### Outputs

- `message` - The commit message
- `ref` - The associated Git reference
- `ref-operation` - Which operation was performed on the ref: `created` or `updated`. Has no value if there were no changes to commit.
- `ref-operation` - Which operation was performed on the ref: `created` or
`updated`. Has no value if there were no changes to commit.
- `sha` - SHA for the commit

## License
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"scripts": {
"bundle": "npm run format:write && npm run package",
"ci-test": "vitest run --coverage --reporter=verbose",
"format:write": "prettier --write **/*.ts",
"format:check": "prettier --check **/*.ts",
"format:write": "npx prettier --write .",
"format:check": "npx prettier --check .",
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
"package": "ncc build src/index.ts --minify --license licenses.txt",
"package:watch": "npm run package -- --watch",
Expand Down

0 comments on commit 92a1555

Please sign in to comment.