Skip to content

Commit cd40662

Browse files
A0-2102: Bump EndBug/add-and-commit GH action version from 5.1.0 to 9.1.1 (#1011)
* Update EndBug/add-and-commit action from 5.1.0 to 9.1.1
1 parent da41a87 commit cd40662

6 files changed

Lines changed: 14 additions & 32 deletions

File tree

.github/actions/destroy-feature-environment/action.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ runs:
2828
uses: ./.github/actions/get-branch
2929

3030
- name: Checkout aleph-apps repo
31-
uses: actions/checkout@master
31+
uses: actions/checkout@v3
3232
with:
3333
repository: Cardinal-Cryptography/aleph-apps
3434
token: ${{ inputs.gh-ci-token }}
@@ -55,17 +55,15 @@ runs:
5555
rm -rf $ALEPH_PATH/aleph-apps/argocd/overlays/devnet/fe-apps/${{ env.APP_NAME }}.yaml
5656
5757
- name: Commit deletion of the feature environment.
58-
uses: EndBug/add-and-commit@v5.1.0
58+
uses: EndBug/add-and-commit@v9.1.1
5959
env:
6060
APP_NAME: fe-${{ steps.get_branch.outputs.branch_appname }}
61-
GITHUB_TOKEN: ${{ inputs.gh-ci-token }}
6261
with:
6362
author_name: AlephZero Automation
6463
author_email: alephzero@10clouds.com
6564
message: "Feature Environment: ${{ env.APP_NAME }} has been deleted"
6665
add: "*.yaml"
6766
cwd: "aleph-apps"
68-
branch: main
6967

7068
- name: Refresh Argo and wait for the deletion to be finished
7169
shell: bash

.github/workflows/build-send-postsync-hook-runtime-image.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
docker push ${{ env.ECR_LATEST }}
8484
8585
- name: GIT | Checkout aleph-apps repo
86-
uses: actions/checkout@master
86+
uses: actions/checkout@v3
8787
with:
8888
repository: Cardinal-Cryptography/aleph-apps
8989
token: ${{ secrets.CI_GH_TOKEN }}
@@ -105,13 +105,10 @@ jobs:
105105
kustomize edit set image "send-runtime-hook-image-placeholder=${{ env.RELEASE_IMAGE }}"
106106
107107
- name: GIT | Commit changes to aleph-apps repository.
108-
uses: EndBug/add-and-commit@v5.1.0
108+
uses: EndBug/add-and-commit@v9.1.1
109109
with:
110110
author_name: AlephZero Automation
111111
author_email: alephzero@10clouds.com
112112
message: "Updating postsync hook image tag to: ${{ steps.vars.outputs.sha_short }}"
113113
add: "*.yaml"
114114
cwd: "aleph-apps"
115-
branch: main
116-
env:
117-
GITHUB_TOKEN: ${{ secrets.CI_GH_TOKEN }}

.github/workflows/deploy-feature-envs.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ jobs:
231231
# yamllint enable rule:line-length
232232

233233
- name: GIT | Checkout aleph-apps repo
234-
uses: actions/checkout@master
234+
uses: actions/checkout@v3
235235
with:
236236
repository: Cardinal-Cryptography/aleph-apps
237237
token: ${{ secrets.CI_GH_TOKEN }}
@@ -320,17 +320,15 @@ jobs:
320320
$ALEPH_PATH/aleph-apps/argocd/overlays/devnet/fe-apps/${{ env.APP_NAME }}.yaml
321321
322322
- name: GIT | Commit changes to aleph-apps repository.
323-
uses: EndBug/add-and-commit@v5.1.0
323+
uses: EndBug/add-and-commit@v9.1.1
324324
env:
325325
APP_NAME: ${{ env.FE_APP_PREFIX }}${{ steps.get_branch.outputs.branch_appname }}
326-
GITHUB_TOKEN: ${{ secrets.CI_GH_TOKEN }}
327326
with:
328327
author_name: AlephZero Automation
329328
author_email: alephzero@10clouds.com
330329
message: "New Feature Environment Deployment with name: ${{ env.APP_NAME }}"
331330
add: "*.yaml"
332331
cwd: "aleph-apps"
333-
branch: main
334332

335333
- name: Refresh Argo and wait for the testnet image deployment to be finished
336334
env:
@@ -373,7 +371,7 @@ jobs:
373371
uses: ./.github/actions/get-branch
374372

375373
- name: GIT | Checkout aleph-apps repo
376-
uses: actions/checkout@master
374+
uses: actions/checkout@v3
377375
with:
378376
repository: Cardinal-Cryptography/aleph-apps
379377
token: ${{ secrets.CI_GH_TOKEN }}
@@ -416,12 +414,11 @@ jobs:
416414
$ALEPH_PATH/aleph-apps/argocd/overlays/devnet/fe-apps/${{ env.APP_NAME }}.yaml
417415
418416
- name: GIT | Commit changes to aleph-apps repository.
419-
uses: EndBug/add-and-commit@v5.1.0
417+
uses: EndBug/add-and-commit@v9.1.1
420418
env:
421419
IMAGE_TAG:
422420
${{ env.FE_IMAGETAG_PREFIX }}${{ steps.get_branch.outputs.branch_imagetag_full }}
423421
APP_NAME: ${{ env.FE_APP_PREFIX }}${{ steps.get_branch.outputs.branch_appname }}
424-
GITHUB_TOKEN: ${{ secrets.CI_GH_TOKEN }}
425422
with:
426423
author_name: AlephZero Automation
427424
author_email: alephzero@10clouds.com
@@ -430,7 +427,6 @@ jobs:
430427
${{ env.FE_ALEPHNODE_REGISTRY }}:${{ env.IMAGE_TAG }}"
431428
add: "*.yaml"
432429
cwd: "aleph-apps"
433-
branch: main
434430

435431
- name: Refresh Argo and wait for the PR image deployment to be finished
436432
env:

.github/workflows/deploy-mainnet.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
aleph-runtime-${{ steps.vars.outputs.sha_short }}.tar.gz
101101
102102
- name: GIT | Checkout aleph-apps repo
103-
uses: actions/checkout@master
103+
uses: actions/checkout@v3
104104
with:
105105
ref: mainnet
106106
repository: Cardinal-Cryptography/aleph-apps
@@ -132,16 +132,13 @@ jobs:
132132
done
133133
134134
- name: GIT | Commit changes to aleph-apps repository.
135-
uses: EndBug/add-and-commit@v5.1.0
135+
uses: EndBug/add-and-commit@v9.1.1
136136
with:
137137
author_name: AlephZero Automation
138138
author_email: alephzero@10clouds.com
139139
message: "Updating Mainnet docker image tag for release: ${{ steps.vars.outputs.branch }}"
140140
add: "*.yaml"
141141
cwd: "aleph-apps"
142-
branch: mainnet
143-
env:
144-
GITHUB_TOKEN: ${{ secrets.CI_GH_TOKEN }}
145142

146143
slack:
147144
name: Slack notification

.github/workflows/deploy-testnet.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
aleph-runtime-${{ steps.vars.outputs.sha_short }}.tar.gz
9999
100100
- name: GIT | Checkout aleph-apps repo
101-
uses: actions/checkout@master
101+
uses: actions/checkout@v3
102102
with:
103103
ref: testnet
104104
repository: Cardinal-Cryptography/aleph-apps
@@ -130,17 +130,14 @@ jobs:
130130
done
131131
132132
- name: GIT | Commit changes to aleph-apps repository.
133-
uses: EndBug/add-and-commit@v5.1.0
133+
uses: EndBug/add-and-commit@v9.1.1
134134
with:
135135
author_name: AlephZero Automation
136136
author_email: alephzero@10clouds.com
137137
message:
138138
"Updating Testnet docker image tag for pre-release: ${{ steps.vars.outputs.branch }}"
139139
add: "*.yaml"
140140
cwd: "aleph-apps"
141-
branch: testnet
142-
env:
143-
GITHUB_TOKEN: ${{ secrets.CI_GH_TOKEN }}
144141

145142
slack:
146143
name: Slack notification

.github/workflows/deploy-to-devnet.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
aws-region: ${{ env.AWS_REGION }}
4040

4141
- name: GIT | Checkout aleph-apps repo
42-
uses: actions/checkout@master
42+
uses: actions/checkout@v3
4343
with:
4444
repository: Cardinal-Cryptography/aleph-apps
4545
token: ${{ secrets.CI_GH_TOKEN }}
@@ -118,16 +118,13 @@ jobs:
118118
sleep 300
119119
120120
- name: GIT | Commit changes to aleph-apps repository.
121-
uses: EndBug/add-and-commit@v5.1.0
121+
uses: EndBug/add-and-commit@v9.1.1
122122
with:
123123
author_name: AlephZero Automation
124124
author_email: alephzero@10clouds.com
125125
message: "Updating Devnet docker image tag to: ${{ steps.vars.outputs.sha_short }}"
126126
add: "*.yaml"
127127
cwd: "aleph-apps"
128-
branch: main
129-
env:
130-
GITHUB_TOKEN: ${{ secrets.CI_GH_TOKEN }}
131128

132129
slack:
133130
name: Slack notification

0 commit comments

Comments
 (0)