99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout
12- uses : actions/checkout@v3
12+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
1313 - name : Import GPG key for signing commits
1414 run : |
1515 echo -n "$GPG_SIGNING_KEY" | gpg --import
@@ -19,24 +19,24 @@ jobs:
1919 env :
2020 GPG_SIGNING_KEY : ${{ secrets.GPG_SIGNING_KEY }}
2121 - name : bump app version
22- uses : mikefarah/yq@v4.30.4
22+ uses : mikefarah/yq@a198f72367ce9da70b564a2cc25399de8e27bf37 # v4.35.2
2323 with :
2424 cmd : yq -i '.appVersion = "${{ github.event.registry_package.package_version.container_metadata.tag.name }}"' charts/pipeline-controller/Chart.yaml
2525 - name : get chart version
2626 id : get_chart_version
27- uses : mikefarah/yq@v4.30.4
27+ uses : mikefarah/yq@a198f72367ce9da70b564a2cc25399de8e27bf37 # v4.35.2
2828 with :
2929 cmd : yq '.version' charts/pipeline-controller/Chart.yaml
3030 - name : increment chart version
3131 id : inc_chart_version
3232 run : echo NEW_CHART_VERSION=$(echo ${{ steps.get_chart_version.outputs.result }} | awk -F. -v OFS=. '{print $1,++$2,0}') >> $GITHUB_OUTPUT
3333 - name : update chart version
34- uses : mikefarah/yq@v4.30.4
34+ uses : mikefarah/yq@a198f72367ce9da70b564a2cc25399de8e27bf37 # v4.35.2
3535 with :
3636 cmd : yq -i '.version = "${{ steps.inc_chart_version.outputs.NEW_CHART_VERSION }}"' charts/pipeline-controller/Chart.yaml
3737 - name : Create Pull Request
3838 id : cpr
39- uses : peter-evans/create-pull-request@v4
39+ uses : peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2
4040 with :
4141 token : ${{ secrets.GHCR_TOKEN }}
4242 commit-message : |
@@ -60,22 +60,22 @@ jobs:
6060 runs-on : ubuntu-latest
6161 steps :
6262 - name : Checkout
63- uses : actions/checkout@v3
63+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
6464 with :
6565 repository : weaveworks/weave-gitops-enterprise
6666 token : ${{ secrets.GHCR_TOKEN }}
6767 - name : Setup Helm
68- uses : azure/setup-helm@v3
68+ uses : azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
6969 with :
7070 version : v3.10.1
7171 - name : Debug
7272 run : echo '${{ toJSON(github.event) }}'
7373 - name : Update pipeline-controller chart version
74- uses : mikefarah/yq@v4.30.4
74+ uses : mikefarah/yq@a198f72367ce9da70b564a2cc25399de8e27bf37 # v4.35.2
7575 with :
7676 cmd : yq -i '(.dependencies[] | select(.name=="pipeline-controller") | .version) |= "${{ github.event.registry_package.package_version.container_metadata.tag.name }}"' charts/mccp/Chart.yaml
7777 - name : Login to GitHub Container Registry
78- uses : docker/login-action@v2
78+ uses : docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
7979 with :
8080 registry : ghcr.io
8181 username : ${{ github.actor }}
8484 run : cd ./charts/mccp && helm dependency update
8585 - name : Create Pull Request
8686 id : cpr
87- uses : peter-evans/create-pull-request@v4
87+ uses : peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2
8888 with :
8989 token : ${{ secrets.GHCR_TOKEN }}
9090 commit-message : |
0 commit comments