Skip to content

Commit 2b5175e

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

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/auto-merge.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 --squash "$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/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
echo "::set-output name=CLI_VERSION::${{ env.CLI_VERSION }}"
107107
108108
- name: Release
109-
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
109+
uses: step-security/action-gh-release@277bfa82abcfdb73e5bbb19e213fd76532ee2be5 # v3.0.0
110110
with:
111111
tag_name: ${{ env.GH_RELEASE_TAG_NAME }}
112112
generate_release_notes: true

.github/workflows/update-cli.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
7777
- name: Create Pull Request
7878
if: steps.ast-cli-java-wrapper.outputs.current_tag != steps.ast-cli-java-wrapper.outputs.release_tag
79-
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c #v6.1.0
79+
uses: step-security/create-pull-request@50c103da2b9ca12cd5bc013fc6931051a5aa872b # v8.1.1
8080
with:
8181
token: ${{ secrets.AUTOMATION_TOKEN }}
8282
commit-message: Update ast-cli-java-wrapper to ${{ steps.ast-cli-java-wrapper.outputs.release_tag }}

0 commit comments

Comments
 (0)