Skip to content

Commit dbd1410

Browse files
build(deps): bump actions/checkout from 4 to 5 (#10)
* build(deps): bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * ci: add workflow_dispatch --------- 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]>
1 parent 4f8b475 commit dbd1410

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

.github/workflows/functional-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout ${{ github.repository }}
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v5
2929
- uses: ./
3030
id: pascal
3131
with:

.github/workflows/security.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ on: # yamllint disable-line rule:truthy
66
push:
77
branches:
88
- main
9+
workflow_dispatch:
10+
inputs:
11+
security-type:
12+
description: What Security scanning you would like to run?
13+
required: false
14+
default: "all"
15+
type: choice
16+
options: ["all", "sca", "code-scanning", "image"]
917

1018
jobs:
1119
build-image:
@@ -15,7 +23,7 @@ jobs:
1523
artifact-name: "${{ steps.artifact.outputs.name }}"
1624
steps:
1725
- name: Checkout ${{ github.repository }}
18-
uses: actions/checkout@v4
26+
uses: actions/checkout@v5
1927
- name: Build image
2028
id: build-image
2129
uses: docker/build-push-action@v6
@@ -45,7 +53,7 @@ jobs:
4553
security-events: write
4654
uses: fabasoad/reusable-workflows/.github/workflows/wf-security-sast.yml@main
4755
with:
48-
code-scanning: true
49-
image: true
56+
code-scanning: ${{ (inputs.security-type || 'all') == 'all' || inputs.security-type == 'code-scanning' }}
57+
image: ${{ (inputs.security-type || 'all') == 'all' || inputs.security-type == 'image' }}
5058
image-artifact-name: "${{ needs.build-image.outputs.artifact-name }}"
51-
sca: true
59+
sca: ${{ (inputs.security-type || 'all') == 'all' || inputs.security-type == 'sca' }}

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,7 @@ jobs:
6060
Run echo "Hello World!"
6161
Hello World!
6262
```
63+
64+
## Contributions
65+
66+
![Alt](https://repobeats.axiom.co/api/embed/c243117fc32fc6c2d68502024a4bb56e0d1f792d.svg "Repobeats analytics image")

0 commit comments

Comments
 (0)