Skip to content

Commit 0f46c15

Browse files
[StepSecurity] Apply security best practices (#311)
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io> Co-authored-by: stepsecurity-app[bot] <188008098+stepsecurity-app[bot]@users.noreply.github.com>
1 parent d64c89c commit 0f46c15

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/auto-merge-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
GITHUB_TOKEN: ${{secrets.PERSONAL_ACCESS_TOKEN }}
1616
run: gh pr merge --auto --merge "$PR_URL"
1717
- name: Auto approve dependabot PRs
18-
uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 #v4
18+
uses: step-security/auto-approve-action@0c28339628c8e79ab2f6813291e7e6cd584b4d30 # v4.0.0
1919
with:
2020
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

.github/workflows/dependabot-auto-merge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: Dependabot metadata
1313
id: metadata
14-
uses: dependabot/fetch-metadata@c9c4182bf1b97f5224aee3906fd373f6b61b4526 #v1.6.0
14+
uses: step-security/dependabot-fetch-metadata@bf8fb6e0be0a711c669dc236de6e7f7374ba626e # v3.1.0
1515
with:
1616
github-token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
1717
- name: Enable auto-merge for Dependabot PRs
@@ -20,6 +20,6 @@ jobs:
2020
GITHUB_TOKEN: ${{secrets.PERSONAL_ACCESS_TOKEN}}
2121
run: gh pr merge --auto --squash "$PR_URL"
2222
- name: Auto approve dependabot PRs
23-
uses: hmarr/auto-approve-action@a2e6f2a0ccf5c63ef8754de360464edbf47e66ee #v3
23+
uses: step-security/auto-approve-action@0c28339628c8e79ab2f6813291e7e6cd584b4d30 # v4.0.0
2424
with:
2525
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
steps:
1818
- name: Create Release
1919
id: draf_release
20-
uses: release-drafter/release-drafter@09c613e259eb8d4e7c81c2cb00618eb5fc4575a7 #v5
20+
uses: step-security/release-drafter@bdf74d4b694b4525e34d030721a58ae1d5d5921c # v7.2.0
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
git push origin "${tag}"
4545
4646
- name: Create Release
47-
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 #v1
47+
uses: step-security/action-gh-release@277bfa82abcfdb73e5bbb19e213fd76532ee2be5 # v3.0.0
4848
with:
4949
tag_name: ${{ github.event.inputs.tag }}
5050
generate_release_notes: true

.github/workflows/update-docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Create Pull Request
6565
id: cretae_pull_request
6666
if: env.CURRENT_TAG != env.RELEASE_TAG
67-
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
67+
uses: step-security/create-pull-request@50c103da2b9ca12cd5bc013fc6931051a5aa872b # v8.1.1
6868
with:
6969
token: ${{ secrets.AUTOMATION_TOKEN }}
7070
commit-message: Update checkmarx-ast-cli to ${{ env.RELEASE_TAG }}

0 commit comments

Comments
 (0)