Skip to content

Commit

Permalink
Bump zricethezav/gitleaks from 8.15.2 to 8.16.2 (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored Apr 5, 2023
1 parent 64ca8fe commit 32f152d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 36 deletions.
29 changes: 18 additions & 11 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<!-- markdownlint-disable-file MD041 -->

Closes #{IssueNumber}

## Pull request checklist

Please check if your PR fulfills the following requirements:

- [ ] I have read the [CONTRIBUTING](https://github.com/fabasoad/setup-brainfuck-action/CONTRIBUTING.md)
- [ ] I have read the [CONTRIBUTING](https://github.com/fabasoad/setup-brainfuck-action/blob/main/CONTRIBUTING.md)
doc.
- [ ] Tests for the changes have been added (for bug fixes / features).
- [ ] Docs have been reviewed and added / updated if needed (for bug fixes / features).
Expand All @@ -15,7 +13,8 @@ doc.

<!-- Please do not submit updates to dependencies unless it fixes an issue. -->

<!-- Please try to limit your pull request to one type, submit multiple pull requests if needed. -->
<!-- Please try to limit your pull request to one type, submit multiple pull
requests if needed. -->

Please check the type of change your PR introduces:

Expand All @@ -27,24 +26,32 @@ Please check the type of change your PR introduces:
- [ ] Documentation content changes
- [ ] Other (please describe):

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->
## What is the current behavior
<!-- Please describe the current behavior that you are modifying, or link to a
relevant issue. -->

## What is the new behavior?
## What is the new behavior
<!-- Please describe the behavior or changes that are being added by this PR. -->

-
-
-

## Does this introduce a breaking change?
## Does this introduce a breaking change

- [ ] Yes
- [ ] No

<!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. -->
<!-- If this introduces a breaking change, please describe the impact and
migration path for existing applications below. -->

## Other information

<!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
<!-- This document was adapted from the open-source [appium/appium](https://github.com/appium/appium/blob/master/.github/PULL_REQUEST_TEMPLATE.md) repository. -->
<!-- Any other information that is important to this PR such as screenshots of
how the component looks before and after the change. -->
<!-- This document was adapted from the open-source [appium/appium](https://github.com/appium/appium/blob/master/.github/PULL_REQUEST_TEMPLATE.md)
repository. -->

---

Closes #{IssueNumber}
24 changes: 4 additions & 20 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,19 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get latest release tag
id: latest_release
run: |
latest_tag=$(curl --silent "https://api.github.com/repos/${{ github.repository }}/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
echo "tag=${latest_tag}" >> $GITHUB_OUTPUT
shell: sh
- name: Get current release tag
id: current_release
run: echo "tag=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
shell: bash
- name: Build changelog
- name: Get changelog
id: changelog
run: |
body=$(git log --pretty=oneline ${{ steps.latest_release.outputs.tag }}..${{ steps.current_release.outputs.tag }})
body="${body//'%'/'%25'}"
body="${body//$'\n'/'%0A'}"
body="${body//$'\r'/'%0D'}"
echo "body=${body}" >> $GITHUB_OUTPUT
shell: bash
uses: simbo/changes-since-last-release-action@v1
- name: Create release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref }}
name: ${{ steps.current_release.outputs.tag }}
name: ${{ github.ref_name }}
token: ${{ secrets.GITHUB_TOKEN }}
body: |
# Changelog
${{ steps.changelog.outputs.body }}
${{ steps.changelog.outputs.log }}
draft: false
prerelease: false
- name: Bump tags
Expand Down
9 changes: 4 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ repos:
- id: detect-secrets
stages: ["commit", "push"]
- repo: https://github.com/zricethezav/gitleaks
rev: v8.15.2
rev: v8.16.2
hooks:
- id: gitleaks
stages: ["commit", "push"]
# Markdown
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.32.2
rev: v0.33.0
hooks:
- id: markdownlint
# Yaml
- repo: https://github.com/adrienverge/yamllint
rev: v1.28.0
rev: v1.30.0
hooks:
- id: yamllint
# Other
Expand All @@ -39,5 +39,4 @@ repos:
- id: no-commit-to-branch
- id: trailing-whitespace
ci:
autofix_prs: true
autoupdate_schedule: quarterly
autofix_prs: false

0 comments on commit 32f152d

Please sign in to comment.