Skip to content

Commit

Permalink
Bump gitleaks/gitleaks from 8.18.2 to 8.18.4 (#138)
Browse files Browse the repository at this point in the history
Bumps [anchore/scan-action](https://github.com/anchore/scan-action) from
3 to 4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/anchore/scan-action/releases">anchore/scan-action's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.0</h2>
<h2>New in scan-action v4.0.0</h2>
<ul>
<li>Update Grype to v0.79.2 (<a
href="https://redirect.github.com/anchore/scan-action/issues/338">#338</a>)
[<a
href="https://github.com/anchore-actions-token-generator">anchore-actions-token-generator</a>]</li>
<li>Download Grype on Windows (<a
href="https://redirect.github.com/anchore/scan-action/issues/336">#336</a>)
[<a href="https://github.com/willmurphyscode">willmurphyscode</a>] (<a
href="https://redirect.github.com/anchore/scan-action/issues/315">#315</a>)
[<a href="https://github.com/kzantow">kzantow</a>]</li>
<li>Bump Node to v20 (<a
href="https://redirect.github.com/anchore/scan-action/issues/295">#295</a>)
[<a
href="https://github.com/ViacheslavKudinov">ViacheslavKudinov</a>]</li>
</ul>
<h2>v3.6.4</h2>
<h2>New in scan-action v3.6.4</h2>
<ul>
<li>Update Grype to v0.74.4 (<a
href="https://redirect.github.com/anchore/scan-action/issues/279">#279</a>)
[<a
href="https://github.com/anchore-actions-token-generator">anchore-actions-token-generator</a>]</li>
</ul>
<h2>v3.6.3</h2>
<h2>New in scan-action v3.6.3</h2>
<ul>
<li>chore: migrate action to use node v20.11.0 (Iron) FROM node v16.x.x
(<a
href="https://redirect.github.com/anchore/scan-action/issues/278">#278</a>)
[<a href="https://github.com/spiffcs">spiffcs</a>]</li>
</ul>
<h2>v3.6.2</h2>
<h2>New in scan-action v3.6.2</h2>
<ul>
<li>chore(deps): update Grype to v0.74.3 (<a
href="https://redirect.github.com/anchore/scan-action/issues/275">#275</a>)
[<a
href="https://github.com/anchore-actions-token-generator">anchore-actions-token-generator</a>]</li>
</ul>
<h2>v3.6.1</h2>
<h2>New in scan-action v3.6.1</h2>
<ul>
<li>chore(deps): update Grype to v0.74.2 (<a
href="https://redirect.github.com/anchore/scan-action/issues/272">#272</a>)
[<a
href="https://github.com/anchore-actions-token-generator">anchore-actions-token-generator</a>]</li>
<li>chore(deps-dev): bump prettier from 3.2.2 to 3.2.4 (<a
href="https://redirect.github.com/anchore/scan-action/issues/270">#270</a>)
[<a href="https://github.com/dependabot">dependabot</a>]</li>
</ul>
<h2>v3.6.0</h2>
<h2>New in scan-action v3.6.0</h2>
<ul>
<li>chore(deps): update Grype to v0.74.1 (<a
href="https://redirect.github.com/anchore/scan-action/issues/271">#271</a>)
[<a
href="https://github.com/anchore-actions-token-generator">anchore-actions-token-generator</a>]</li>
<li>chore(deps-dev): bump prettier from 3.1.1 to 3.2.2 (<a
href="https://redirect.github.com/anchore/scan-action/issues/268">#268</a>)
[<a href="https://github.com/dependabot">dependabot</a>]</li>
</ul>
<h2>v3.5.0</h2>
<h2>New in scan-action v3.5.0</h2>
<ul>
<li>chore(deps): update Grype to v0.74.0 (<a
href="https://redirect.github.com/anchore/scan-action/issues/267">#267</a>)
[<a
href="https://github.com/anchore-actions-token-generator">anchore-actions-token-generator</a>]</li>
<li>chore(deps): bump <code>@​actions/core</code> from 1.10.0 to 1.10.1
(<a
href="https://redirect.github.com/anchore/scan-action/issues/262">#262</a>)
[<a href="https://github.com/dependabot">dependabot</a>]</li>
</ul>
<h2>v3.4.0</h2>
<h2>New in scan-action v3.4.0</h2>
<ul>
<li>chore(deps-dev): bump tslib from 2.5.0 to 2.6.2 (<a
href="https://redirect.github.com/anchore/scan-action/issues/258">#258</a>)
[<a href="https://github.com/dependabot">dependabot</a>]</li>
<li>chore(deps-dev): bump <code>@​vercel/ncc</code> from 0.36.1 to
0.38.1 (<a
href="https://redirect.github.com/anchore/scan-action/issues/261">#261</a>)
[<a href="https://github.com/dependabot">dependabot</a>]</li>
<li>chore(deps): update Grype to v0.73.5 (<a
href="https://redirect.github.com/anchore/scan-action/issues/264">#264</a>)
[<a
href="https://github.com/anchore-actions-token-generator">anchore-actions-token-generator</a>]</li>
<li>Add support for the <code>--vex</code> flag (<a
href="https://redirect.github.com/anchore/scan-action/issues/254">#254</a>)
[<a href="https://github.com/ferozsalam">ferozsalam</a>]</li>
</ul>
<h2>v3.3.8</h2>
<h2>New in scan-action v3.3.8</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/anchore/scan-action/blob/main/CHANGELOG.md">anchore/scan-action's
changelog</a>.</em></p>
<blockquote>
<h1>Release Notes</h1>
<h2>Version 2.0.2 - 2020-11-11</h2>
<ul>
<li>Update <code>actions/core</code> to use version <code>1.2.6</code>
[(Issue <a
href="https://redirect.github.com/anchore/scan-action/issues/71">#71</a>)](<a
href="https://redirect.github.com/anchore/scan-action/issues/71">anchore/scan-action#71</a>)</li>
</ul>
<h2>Version 2.0.1 - 2020-02-11</h2>
<p>Fixes:</p>
<ul>
<li>Removes unnecessary constraint in deduplication for SARIF
reporting</li>
<li>Allows defining and referencing the location of the SARIF report
file</li>
<li>Fixes multiple instances where undefined items in the reporting
would break scanning</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/anchore/scan-action/commit/d43cc1dfea6a99ed123bf8f3133f1797c9b44492"><code>d43cc1d</code></a>
chore(deps): update Grype to v0.79.3 (<a
href="https://redirect.github.com/anchore/scan-action/issues/341">#341</a>)</li>
<li><a
href="https://github.com/anchore/scan-action/commit/a2c96d38ddde62d4a2aa238844733fddd01399c9"><code>a2c96d3</code></a>
chore(deps-dev): bump tslib from 2.6.2 to 2.6.3 (<a
href="https://redirect.github.com/anchore/scan-action/issues/325">#325</a>)</li>
<li><a
href="https://github.com/anchore/scan-action/commit/7e49a1e6eaf54c02ecc8c071bd30dbb3beb1bde3"><code>7e49a1e</code></a>
chore(deps-dev): bump prettier from 3.3.0 to 3.3.2 (<a
href="https://redirect.github.com/anchore/scan-action/issues/327">#327</a>)</li>
<li><a
href="https://github.com/anchore/scan-action/commit/f207359fdefc9d060383773d27f14bb4a7c09bac"><code>f207359</code></a>
chore(deps): bump actions/checkout from 4.1.6 to 4.1.7 (<a
href="https://redirect.github.com/anchore/scan-action/issues/330">#330</a>)</li>
<li><a
href="https://github.com/anchore/scan-action/commit/9b502f28c7dd03ab87931c1eb9a872413868b8b8"><code>9b502f2</code></a>
chore(deps-dev): bump lint-staged from 15.2.2 to 15.2.7 (<a
href="https://redirect.github.com/anchore/scan-action/issues/329">#329</a>)</li>
<li><a
href="https://github.com/anchore/scan-action/commit/29a085af3d75de61093ce553ac2dbd8edd2e777b"><code>29a085a</code></a>
chore(deps): bump peter-evans/create-pull-request from 6.0.5 to 6.1.0
(<a
href="https://redirect.github.com/anchore/scan-action/issues/334">#334</a>)</li>
<li><a
href="https://github.com/anchore/scan-action/commit/7f46fbf85cadcd374ff60adb2df71eb0d1f41482"><code>7f46fbf</code></a>
chore(deps-dev): bump eslint from 8.57.0 to 9.6.0 (<a
href="https://redirect.github.com/anchore/scan-action/issues/335">#335</a>)</li>
<li><a
href="https://github.com/anchore/scan-action/commit/04b73ec0bba3de85519c4ec634bffedead788f96"><code>04b73ec</code></a>
chore(deps): update Grype to v0.79.2 (<a
href="https://redirect.github.com/anchore/scan-action/issues/338">#338</a>)</li>
<li><a
href="https://github.com/anchore/scan-action/commit/69a534f9ca3bf6bf67a9ab5614819217766f5e30"><code>69a534f</code></a>
fix: download Grype directly on Windows (<a
href="https://redirect.github.com/anchore/scan-action/issues/336">#336</a>)</li>
<li><a
href="https://github.com/anchore/scan-action/commit/d09e278f43e314a93efb4e6000ff0df6153e9333"><code>d09e278</code></a>
chore(deps-dev): bump prettier from 3.2.5 to 3.3.0 (<a
href="https://redirect.github.com/anchore/scan-action/issues/323">#323</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/anchore/scan-action/compare/v3...v4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=anchore/scan-action&package-manager=github_actions&previous-version=3&new-version=4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fabasoad <[email protected]>
  • Loading branch information
dependabot[bot] and fabasoad authored Aug 3, 2024
1 parent 0b332a8 commit 5ad4d09
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 198 deletions.
78 changes: 0 additions & 78 deletions .github/labels.yml

This file was deleted.

30 changes: 3 additions & 27 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,6 @@ on: # yamllint disable-line rule:truthy
- "v*.*.*"

jobs:
create-release:
name: Create release
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changelog
id: changelog
uses: simbo/changes-since-last-release-action@v1
- name: Create release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
name: ${{ github.ref_name }}
token: ${{ secrets.GITHUB_TOKEN }}
body: |
# Changelog
${{ steps.changelog.outputs.log }}
draft: false
prerelease: false
- name: Bump tags
uses: fischerscode/tagger@v0
with:
prefix: v
github:
name: GitHub
uses: fabasoad/reusable-workflows/.github/workflows/wf-github-release.yml@main
47 changes: 6 additions & 41 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,10 @@ on: # yamllint disable-line rule:truthy
branches:
- main

defaults:
run:
shell: sh

jobs:
code-scanning:
name: Code scanning
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: "javascript"
- name: Perform CodeQL Analysis
id: codeql-analysis
uses: github/codeql-action/analyze@v3
- name: Upload to GHAS
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
category: "code-scanning"
sarif_file: "${{ steps.codeql-analysis.outputs.sarif-output }}"
directory-scanning:
name: Directory scanning
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
- name: Scan current project
id: scan-directory
uses: anchore/scan-action@v3
with:
by-cve: "true"
path: "."
- name: Upload to GHAS
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
category: "directory-scanning"
sarif_file: "${{ steps.scan-directory.outputs.sarif }}"
sast:
name: SAST
permissions:
contents: read
security-events: write
uses: fabasoad/reusable-workflows/.github/workflows/wf-security-sast.yml@main
19 changes: 5 additions & 14 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
---
name: Sync labels
name: Labels

on: # yamllint disable-line rule:truthy
push:
branches:
- main
paths:
- .github/labels.yml
workflow_dispatch:
workflow_dispatch: {}

jobs:
sync-labels:
name: Sync labels
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
- name: Run Label Syncer
uses: micnncim/action-label-syncer@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
maintenance:
name: Maintenance
uses: fabasoad/reusable-workflows/.github/workflows/wf-sync-labels.yml@main
27 changes: 4 additions & 23 deletions .github/workflows/update-license.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,11 @@
---
name: Update license
name: License

on: # yamllint disable-line rule:truthy
schedule:
- cron: "0 5 1 1 *"

jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Update LICENSE file
uses: FantasticFiasco/action-update-license-year@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
assignees: ${{ github.repository_owner }}
labels: enhancement
prTitle: Update license copyright year to {{currentYear}}
prBody: |
## Changelog
- Update license copyright year to {{currentYear}}
---
Powered by [FantasticFiasco/action-update-license-year](https://github.com/FantasticFiasco/action-update-license-year)
maintenance:
name: Maintenance
uses: fabasoad/reusable-workflows/.github/workflows/wf-update-license.yml@main
31 changes: 22 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,34 @@ minimum_pre_commit_version: 2.18.0
repos:
# Security
- repo: https://github.com/Yelp/detect-secrets
rev: v1.4.0
rev: v1.5.0
hooks:
- id: detect-secrets
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.2
rev: v8.18.4
hooks:
- id: gitleaks
- repo: https://github.com/fabasoad/pre-commit-grype
rev: v0.6.0
hooks:
- id: grype-dir
args:
- --grype-args=--by-cve --fail-on=low
- --hook-args=--log-level debug
stages: ["push"]
# Markdown
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.39.0
rev: v0.41.0
hooks:
- id: markdownlint-fix
stages: ["commit"]
# Shell
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
- repo: https://github.com/openstack/bashate
rev: 2.1.1
hooks:
- id: shellcheck
stages: ["push"]
- id: bashate
args: ["-i", "E003,E006"]
stages: ["commit"]
# Yaml
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
Expand All @@ -32,11 +41,11 @@ repos:
stages: ["push"]
# GitHub Actions
- repo: https://github.com/rhysd/actionlint
rev: v1.6.27
rev: v1.7.1
hooks:
- id: actionlint
args: ["-pyflakes="]
stages: ["push"]
stages: ["commit"]
# Other
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
Expand All @@ -46,6 +55,10 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-executables-have-shebangs
stages: ["commit"]
- id: check-shebang-scripts-are-executable
stages: ["commit"]
- id: check-merge-conflict
- id: check-json
stages: ["push"]
Expand Down
11 changes: 5 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@ runs:
exit 1
- name: Collect info
id: info
if: ${{ runner.os == 'Linux' }}
shell: sh
run: |
COBOL_INSTALLED=$(if command -v cobc >/dev/null 2>&1; then echo true; else echo false; fi)
echo "COBOL_INSTALLED=${COBOL_INSTALLED}" >> "$GITHUB_OUTPUT"
cobol_installed=$(if command -v cobc >/dev/null 2>&1; then echo true; else echo false; fi)
echo "cobol-installed=${cobol_installed}" >> "$GITHUB_OUTPUT"
mkdir -p "${GITHUB_WORKSPACE}/cobol"
echo "COBOL_PATH=${GITHUB_WORKSPACE}/cobol" >> "$GITHUB_OUTPUT"
echo "cobol-path=${GITHUB_WORKSPACE}/cobol" >> "$GITHUB_OUTPUT"
- name: Install COBOL
if: ${{ runner.os == 'Linux' && steps.info.outputs.COBOL_INSTALLED == 'false' }}
if: ${{ steps.info.outputs.cobol-installed == 'false' }}
env:
INPUT_VERSION: "${{ inputs.version }}"
shell: sh
Expand All @@ -46,4 +45,4 @@ runs:
sudo apt-get -y --purge autoremove
echo "/home/cobol" >> "$GITHUB_PATH"
working-directory: ${{ steps.info.outputs.COBOL_PATH }}
working-directory: ${{ steps.info.outputs.cobol-path }}

0 comments on commit 5ad4d09

Please sign in to comment.