File tree Expand file tree Collapse file tree 4 files changed +15
-9
lines changed Expand file tree Collapse file tree 4 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 9
9
homebrew :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v2
12
+ - uses : actions/checkout@v3
13
+ with :
14
+ fetch-depth : 0
15
+ persist-credentials : false
16
+ token : ${{secrets.gh_token}}
13
17
- uses : actions/setup-node@v2
14
18
with :
15
19
node-version : 16
16
20
registry-url : ' https://registry.npmjs.org'
17
21
18
22
- name : Mkdir .aws
19
- run : mkdir -p /home/node /.aws
23
+ run : mkdir -p ~ /.aws
20
24
21
25
- name : Set .aws/config
22
26
run : |
23
- cat << EOF > /home/node /.aws/config
27
+ cat << EOF > ~ /.aws/config
24
28
[default]
25
29
region=us-east-1
26
30
output=json
31
35
EOF
32
36
- name : Set .aws/credentials
33
37
run : |
34
- cat << EOF > /home/node /.aws/credentials
38
+ cat << EOF > ~ /.aws/credentials
35
39
[default]
36
40
aws_access_key_id = $AWS_ACCESS_KEY_ID
37
41
aws_secret_access_key = $AWS_SECRET_ACCESS_KEY
61
65
run : yarn homebrew
62
66
env :
63
67
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
64
- AWS_SHARED_CREDENTIALS_FILE : /home/node/.aws/credentials
65
- AWS_CONFIG_FILE : /home/node/.aws/config
66
68
AWS_SDK_LOAD_CONFIG : true
67
69
AWS_PROFILE : cloudgraph-iac
68
70
AWS_ACCESS_KEY_ID : ${{secrets.aws_access_key_id}}
Original file line number Diff line number Diff line change 8
8
notify :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
11
+ - uses : actions/checkout@v3
12
12
- uses : actions/setup-node@v2
13
13
with :
14
14
node-version : 16
Original file line number Diff line number Diff line change 11
11
pr-validation :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v2
14
+ - uses : actions/checkout@v3
15
15
- run : |
16
16
if [ "$TARGET_BRANCH" == "master" ] && [ "$SOURCE_BRANCH" == "beta" ]; then
17
17
echo "Merge from $SOURCE_BRANCH to $TARGET_BRANCH is valid"
Original file line number Diff line number Diff line change 15
15
build :
16
16
runs-on : ubuntu-latest
17
17
steps :
18
- - uses : actions/checkout@v2
18
+ - uses : actions/checkout@v3
19
+ with :
20
+ fetch-depth : 0
21
+ persist-credentials : false
22
+ token : ${{secrets.gh_token}}
19
23
- uses : actions/setup-node@v2
20
24
with :
21
25
node-version : 16
You can’t perform that action at this time.
0 commit comments