File tree 4 files changed +15
-2
lines changed
4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 29
29
steps :
30
30
- name : Checkout
31
31
uses : actions/checkout@v4
32
-
32
+ with :
33
+ persist-credentials : false
33
34
- name : Install Dependencies (python)
34
35
run : pip3 install -r requirements-dev.txt
35
36
Original file line number Diff line number Diff line change 21
21
run : echo "$GITHUB_CONTEXT"
22
22
23
23
- uses : actions/checkout@v4
24
+ with :
25
+ persist-credentials : false
24
26
25
27
- name : Set up Python 3.10
26
28
uses : actions/setup-python@v5
37
39
run : python -munittest
38
40
39
41
- name : Commit updates
42
+ env :
43
+ REPO : ${{ github.repository }}
40
44
run : |
41
45
git config user.name "${GITHUB_ACTOR} (github actions cron)"
42
46
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
43
- git remote set-url --push origin https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
47
+ git remote set-url --push origin " https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/$REPO"
44
48
if git commit -m"update iersdata" src/wwvb/iersdata.json; then git push origin HEAD:main; fi
Original file line number Diff line number Diff line change 19
19
run : echo "$GITHUB_CONTEXT"
20
20
21
21
- uses : actions/checkout@v4
22
+ with :
23
+ persist-credentials : false
22
24
23
25
- name : Set up Python
24
26
uses : actions/setup-python@v5
Original file line number Diff line number Diff line change 22
22
python-version : ' 3.12'
23
23
24
24
- uses : actions/checkout@v4
25
+ with :
26
+ persist-credentials : false
25
27
26
28
- name : Install deps
27
29
run : python -mpip install -r requirements-dev.txt
52
54
runs-on : ${{ matrix.os-version }}
53
55
steps :
54
56
- uses : actions/checkout@v4
57
+ with :
58
+ persist-credentials : false
55
59
56
60
- name : Set up Python
57
61
uses : actions/setup-python@v5
84
88
runs-on : ubuntu-latest
85
89
steps :
86
90
- uses : actions/checkout@v4
91
+ with :
92
+ persist-credentials : false
87
93
88
94
- name : Set up Python
89
95
uses : actions/setup-python@v5
You can’t perform that action at this time.
0 commit comments