File tree 10 files changed +33
-33
lines changed
10 files changed +33
-33
lines changed Original file line number Diff line number Diff line change 16
16
exit 1
17
17
fi
18
18
19
- - uses : actions/checkout@v3
19
+ - uses : actions/checkout@v4
20
20
with :
21
21
# history is needed to run git cherry-pick below
22
22
fetch-depth : 0
40
40
gh pr create --title "[$GITHUB_REF_NAME] $title" \
41
41
--body "Clean cherry-pick of #$NUMBER to the \`$GITHUB_REF_NAME\` branch." \
42
42
--head $branch \
43
- --base $GITHUB_REF_NAME
43
+ --base $GITHUB_REF_NAME
Original file line number Diff line number Diff line change 18
18
&& github.actor != 'opentelemetrybot'
19
19
20
20
steps :
21
- - uses : actions/checkout@v2
21
+ - uses : actions/checkout@v4
22
22
23
23
- name : Check for CHANGELOG changes
24
24
run : |
33
33
echo "No CHANGELOG was modified."
34
34
echo "Please add a CHANGELOG entry, or add the \"Skip Changelog\" label if not required."
35
35
false
36
- fi
36
+ fi
Original file line number Diff line number Diff line change @@ -20,16 +20,16 @@ jobs:
20
20
21
21
steps :
22
22
- name : Checkout repository
23
- uses : actions/checkout@v2
23
+ uses : actions/checkout@v4
24
24
25
25
# Initializes the CodeQL tools for scanning.
26
26
- name : Initialize CodeQL
27
- uses : github/codeql-action/init@v1
27
+ uses : github/codeql-action/init@v3
28
28
with :
29
29
languages : python
30
30
31
31
- name : Autobuild
32
- uses : github/codeql-action/autobuild@v1
32
+ uses : github/codeql-action/autobuild@v3
33
33
34
34
- name : Perform CodeQL Analysis
35
- uses : github/codeql-action/analyze@v1
35
+ uses : github/codeql-action/analyze@v3
Original file line number Diff line number Diff line change @@ -104,16 +104,16 @@ jobs:
104
104
package : " grpc"
105
105
steps :
106
106
- name : Checkout Contrib Repo @ SHA - ${{ github.sha }}
107
- uses : actions/checkout@v2
107
+ uses : actions/checkout@v4
108
108
- name : Set up Python ${{ env[matrix.python-version] }}
109
- uses : actions/setup-python@v4
109
+ uses : actions/setup-python@v5
110
110
with :
111
111
python-version : ${{ env[matrix.python-version] }}
112
112
- name : Install tox
113
113
run : pip install tox
114
114
- name : Cache tox environment
115
115
# Preserves .tox directory between runs for faster installs
116
- uses : actions/cache@v1
116
+ uses : actions/cache@v4
117
117
with :
118
118
path : |
119
119
.tox
Original file line number Diff line number Diff line change @@ -43,16 +43,16 @@ jobs:
43
43
package : " prometheus-remote-write"
44
44
steps :
45
45
- name : Checkout Contrib Repo @ SHA - ${{ github.sha }}
46
- uses : actions/checkout@v2
46
+ uses : actions/checkout@v4
47
47
- name : Set up Python ${{ env[matrix.python-version] }}
48
- uses : actions/setup-python@v4
48
+ uses : actions/setup-python@v5
49
49
with :
50
50
python-version : ${{ env[matrix.python-version] }}
51
51
- name : Install tox
52
52
run : pip install tox
53
53
- name : Cache tox environment
54
54
# Preserves .tox directory between runs for faster installs
55
- uses : actions/cache@v1
55
+ uses : actions/cache@v4
56
56
with :
57
57
path : |
58
58
.tox
Original file line number Diff line number Diff line change 6
6
prepare-patch-release :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
- - uses : actions/checkout@v3
9
+ - uses : actions/checkout@v4
10
10
11
11
- run : |
12
12
if [[ ! $GITHUB_REF_NAME =~ ^release/v[0-9]+\.[0-9]+\.x-0\.[0-9]+bx$ ]]; then
50
50
run : .github/scripts/update-version.sh $STABLE_VERSION $UNSTABLE_VERSION
51
51
52
52
- name : Set up Python 3.9
53
- uses : actions/setup-python@v2
53
+ uses : actions/setup-python@v5
54
54
with :
55
55
python-version : 3.9
56
56
- name : Install tox
79
79
gh pr create --title "[$GITHUB_REF_NAME] $message" \
80
80
--body "$message." \
81
81
--head $branch \
82
- --base $GITHUB_REF_NAME
82
+ --base $GITHUB_REF_NAME
Original file line number Diff line number Diff line change 10
10
prereqs :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v3
13
+ - uses : actions/checkout@v4
14
14
15
15
- name : Verify prerequisites
16
16
env :
39
39
runs-on : ubuntu-latest
40
40
needs : prereqs
41
41
steps :
42
- - uses : actions/checkout@v3
42
+ - uses : actions/checkout@v4
43
43
44
44
- name : Create release branch
45
45
env :
77
77
run : .github/scripts/update-version.sh $STABLE_VERSION $UNSTABLE_VERSION
78
78
79
79
- name : Set up Python 3.9
80
- uses : actions/setup-python@v2
80
+ uses : actions/setup-python@v5
81
81
with :
82
82
python-version : 3.9
83
83
- name : Install tox
@@ -112,7 +112,7 @@ jobs:
112
112
runs-on : ubuntu-latest
113
113
needs : prereqs
114
114
steps :
115
- - uses : actions/checkout@v3
115
+ - uses : actions/checkout@v4
116
116
117
117
- name : Set environment variables
118
118
env :
@@ -161,7 +161,7 @@ jobs:
161
161
run : .github/scripts/update-version.sh $STABLE_NEXT_VERSION $UNSTABLE_NEXT_VERSION
162
162
163
163
- name : Set up Python 3.9
164
- uses : actions/setup-python@v2
164
+ uses : actions/setup-python@v5
165
165
with :
166
166
python-version : 3.9
167
167
- name : Install tox
@@ -192,4 +192,4 @@ jobs:
192
192
gh pr create --title "$message" \
193
193
--body "$body" \
194
194
--head $branch \
195
- --base main
195
+ --base main
Original file line number Diff line number Diff line change 10
10
name : Publish package from tag
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v1
14
- - uses : actions/setup-python@v1
13
+ - uses : actions/checkout@v4
14
+ - uses : actions/setup-python@v5
15
15
with :
16
16
python-version : ' 3.9'
17
17
- name : Log tag that triggered publish workflow
Original file line number Diff line number Diff line change 12
12
exit 1
13
13
fi
14
14
15
- - uses : actions/checkout@v3
15
+ - uses : actions/checkout@v4
16
16
17
17
- name : Set environment variables
18
18
run : |
@@ -56,15 +56,15 @@ jobs:
56
56
57
57
# check out main branch to verify there won't be problems with merging the change log
58
58
# at the end of this workflow
59
- - uses : actions/checkout@v3
59
+ - uses : actions/checkout@v4
60
60
with :
61
61
ref : main
62
62
63
63
# back to the release branch
64
- - uses : actions/checkout@v3
64
+ - uses : actions/checkout@v4
65
65
66
66
# next few steps publish to pypi
67
- - uses : actions/setup-python@v1
67
+ - uses : actions/setup-python@v5
68
68
with :
69
69
python-version : ' 3.8'
70
70
@@ -127,7 +127,7 @@ jobs:
127
127
--discussion-category announcements \
128
128
v$UNSTABLE_VERSION
129
129
130
- - uses : actions/checkout@v3
130
+ - uses : actions/checkout@v4
131
131
with :
132
132
# the step below is creating a pull request against main
133
133
ref : main
Original file line number Diff line number Diff line change 18
18
runs-on : ubuntu-20.04
19
19
steps :
20
20
- name : Checkout Contrib Repo @ SHA - ${{ github.sha }}
21
- uses : actions/checkout@v2
21
+ uses : actions/checkout@v4
22
22
- name : Set up Python 3.10
23
- uses : actions/setup-python@v2
23
+ uses : actions/setup-python@v5
24
24
with :
25
25
python-version : " 3.10"
26
26
- name : Install tox
30
30
run : sudo apt-get install -y libsnappy-dev
31
31
- name : Cache tox environment
32
32
# Preserves .tox directory between runs for faster installs
33
- uses : actions/cache@v1
33
+ uses : actions/cache@v4
34
34
with :
35
35
path : |
36
36
.tox
You can’t perform that action at this time.
0 commit comments