File tree Expand file tree Collapse file tree 2 files changed +13
-19
lines changed Expand file tree Collapse file tree 2 files changed +13
-19
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Setup Helm
12- uses : azure/setup-helm@v3
13- with :
14- token : ${{ secrets.GITHUB_TOKEN }}
15- - uses : actions/checkout@v3
12+ uses : azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
13+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1614 - name : Validate Event
1715 id : validate-event
1816 run : |
5351
5452 - name : Download Chart
5553 id : download-artifact
56- uses : dawidd6/action-download-artifact@v2
54+ uses : dawidd6/action-download-artifact@07ab29fd4a977ae4d2b275087cf67563dfdf0295 # v9
5755 with :
5856 github_token : ${{ secrets.GH_PR_WRITE_PAT }}
5957 repo : ${{ steps.validate-event.outputs.repo }}
8179 shell : pwsh
8280
8381 - name : Create Pull Request
84- uses : peter-evans/create-pull-request@v4
82+ uses : peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
8583 id : create-pr
8684 with :
8785 add-paths : |
@@ -106,10 +104,8 @@ jobs:
106104 oob-update
107105 token : ${{ secrets.GH_PR_WRITE_PAT }}
108106
109- - uses : peter-evans/enable-pull-request-automerge@v2
107+ - name : Enable Pull Request Automerge
110108 if : steps.create-pr.outputs.pull-request-operation == 'created'
111- with :
112- # Uses the dispatch service user, using the dotnet PAT.
113- token : ${{ secrets.GH_PR_WRITE_PAT }}
114- pull-request-number : ${{ steps.create-pr.outputs.pull-request-number }}
115- merge-method : rebase
109+ run : gh pr merge --rebase --auto "${{ steps.create-pr.outputs.pull-request-number }}"
110+ env :
111+ GH_TOKEN : ${{ secrets.GH_PR_WRITE_PAT }}
Original file line number Diff line number Diff line change @@ -12,23 +12,21 @@ jobs:
1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : Setup Helm
15- uses : azure/setup-helm@v3
16- with :
17- token : ${{ secrets.GITHUB_TOKEN }}
15+ uses : azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
1816 - name : Setup Node
19- uses : actions/setup-node@v2
17+ uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
2018 with :
2119 node-version : lts/*
2220
2321 - name : Checkout
24- uses : actions/checkout@v3
22+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2523 - name : Stage Charts
2624 run : |
2725 ./build.ps1 -Output ./dist -ChartRepositoryUrl "https://contrastsecurity.dev/helm-charts"
2826 shell : pwsh
2927
3028 - name : Upload Pages Artifact
31- uses : actions/upload-pages-artifact@v3
29+ uses : actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
3230 with :
3331 path : ./dist
3432 publish :
4240 runs-on : ubuntu-latest
4341 steps :
4442 - name : Deploy to GitHub Pages
45- uses : actions/deploy-pages@v4
43+ uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
You can’t perform that action at this time.
0 commit comments