Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump zricethezav/gitleaks from 8.15.1 to 8.15.2 #101

Merged
merged 3 commits into from
Dec 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,32 @@ assignees: fabasoad

---

#### Describe the bug
## Describe the bug

A clear and concise description of what the bug is.

#### Steps to Reproduce
## Steps to Reproduce

1. Run '...'
2. See error

#### Expected behavior
## Expected behavior

A clear and concise description of what you expected to happen.

#### Actual behavior
## Actual behavior

A clear and concise description of what is happening now.

#### Screenshots
## Screenshots

If applicable, add screenshots to help explain your problem.

#### Technical information (please complete the following information)
## Technical information (please complete the following information)

- OS: [e.g. Windows 10 Enterprise v.1909 (OS Build 18363.720)]
- `setup-mint-action` version [e.g. 1.1.0]

#### Additional context
## Additional context

Add any other context about the problem here.
6 changes: 4 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<!-- markdownlint-disable-file MD041 -->

Closes #{IssueNumber}

## Pull request checklist

Please check if your PR fulfills the following requirements:
Expand Down Expand Up @@ -48,3 +46,7 @@ Please check the type of change your PR introduces:

<!-- 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}
7 changes: 7 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ jobs:
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
id: changelog
run: |
Expand All @@ -30,6 +32,7 @@ jobs:
body="${body//$'\n'/'%0A'}"
body="${body//$'\r'/'%0D'}"
echo "body=${body}" >> $GITHUB_OUTPUT
shell: bash
- name: Create release
uses: softprops/action-gh-release@v1
with:
Expand All @@ -42,3 +45,7 @@ jobs:
${{ steps.changelog.outputs.body }}
draft: false
prerelease: false
- name: Bump tags
uses: fischerscode/tagger@v0
with:
prefix: v
8 changes: 5 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
default_install_hook_types: ["pre-commit", "pre-push"]
default_stages: ["commit"]
exclude: ^\.gitleaks\.toml$
minimum_pre_commit_version: 2.18.0
repos:
# Security
- repo: https://github.com/Yelp/detect-secrets
Expand All @@ -9,7 +11,7 @@ repos:
- id: detect-secrets
stages: ["commit", "push"]
- repo: https://github.com/zricethezav/gitleaks
rev: v8.15.1
rev: v8.15.2
hooks:
- id: gitleaks
stages: ["commit", "push"]
Expand All @@ -23,7 +25,6 @@ repos:
rev: v1.28.0
hooks:
- id: yamllint
args: ["-c", ".yamllint.yml"]
# Other
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
Expand All @@ -38,4 +39,5 @@ repos:
- id: no-commit-to-branch
- id: trailing-whitespace
ci:
autofix_prs: false
autofix_prs: true
autoupdate_schedule: quarterly
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

### Result

```bash
```text
Mint - Initializing a new project
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Creating directory: test-project
Expand Down
13 changes: 12 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,21 @@ runs:
fi
echo "MINT_BINARY=$MINT_BINARY" >> $GITHUB_OUTPUT
shell: sh
- name: Download
if: ${{ runner.os != 'Windows' && steps.info.outputs.MINT_INSTALLED == 'false' }}
uses: robinraju/[email protected]
with:
repository: mint-lang/mint
latest: false
tag: ${{ inputs.version }}
fileName: ${{ steps.info.outputs.MINT_BINARY }}
tarBall: false
zipBall: false
out-file-path: mint
- name: Install
if: ${{ runner.os != 'Windows' && steps.info.outputs.MINT_INSTALLED == 'false' }}
run: |
wget https://github.com/mint-lang/mint/releases/download/${{ inputs.version }}/${{ steps.info.outputs.MINT_BINARY }} -O mint
mv ${{ steps.info.outputs.MINT_BINARY }} mint
chmod +x mint
echo "${{ steps.info.outputs.MINT_PATH }}" >> $GITHUB_PATH
shell: sh
Expand Down