@@ -16,36 +16,36 @@ jobs:
16
16
name : Update dependencies
17
17
runs-on : ubuntu-latest
18
18
steps :
19
- - name : Checks-out repository
20
- uses : actions/checkout@v4
21
- - name : Set up Python 3.12
22
- uses : actions/setup-python@v5
23
- with :
24
- python-version : " 3.12"
25
- - name : Install dependencies
26
- run : |
27
- python -m pip install --upgrade pip
28
- python -m pip install requests
29
- - name : Set Git user
30
- run : |
31
- git config user.name 'GitHub'
32
- git config user.email '<noreply@github.com>'
33
- - name : Run update script
34
- run : python3 .github/workflows/update-deps.py --debug --bump=major
35
- - name : Check if commits were made
36
- run : |
37
- if [[ $(git log --oneline -1 --author="GitHub") ]]; then
38
- echo "COMMIT_MADE=true" >> $GITHUB_ENV
39
- fi
40
- - name : Create Pull Request
41
- if : env.COMMIT_MADE == 'true'
42
- uses : cfengine/create-pull-request@v6
43
- with :
44
- title : Updated dependencies
45
- body : Automated dependency updates
46
- reviewers : |
47
- olehermanse
48
- larsewi
49
- craigcomstock
50
- branch : update-dependencies-action
51
- branch-suffix : timestamp
19
+ - name : Checks-out repository
20
+ uses : actions/checkout@v4
21
+ - name : Set up Python 3.12
22
+ uses : actions/setup-python@v5
23
+ with :
24
+ python-version : " 3.12"
25
+ - name : Install dependencies
26
+ run : |
27
+ python -m pip install --upgrade pip
28
+ python -m pip install requests
29
+ - name : Set Git user
30
+ run : |
31
+ git config user.name 'GitHub'
32
+ git config user.email '<noreply@github.com>'
33
+ - name : Run update script
34
+ run : python3 .github/workflows/update-deps.py --debug --bump=major
35
+ - name : Check if commits were made
36
+ run : |
37
+ if [[ $(git log --oneline -1 --author="GitHub") ]]; then
38
+ echo "COMMIT_MADE=true" >> $GITHUB_ENV
39
+ fi
40
+ - name : Create Pull Request
41
+ if : env.COMMIT_MADE == 'true'
42
+ uses : cfengine/create-pull-request@v6
43
+ with :
44
+ title : Updated dependencies
45
+ body : Automated dependency updates
46
+ reviewers : |
47
+ olehermanse
48
+ larsewi
49
+ craigcomstock
50
+ branch : update-dependencies-action
51
+ branch-suffix : timestamp
0 commit comments