File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,23 @@ concurrency:
12
12
13
13
permissions :
14
14
contents : write
15
+ issues : write
15
16
16
17
jobs :
17
18
prepare-gradle :
18
19
runs-on : ubuntu-latest
19
20
20
21
steps :
21
- - uses : actions/checkout@v4
22
+ - uses : actions/create-github-app-token@v1
23
+ id : app-token
24
+ name : Create GitHub App Token
25
+ with :
26
+ app-id : ${{ vars.CI_APP_ID }}
27
+ private-key : ${{ secrets.CI_APP_PRIVATE_KEY }}
22
28
23
- - name : git author
24
- run : |
25
- git config --global user.name "SmallRye CI"
26
- git config --global user.email "smallrye@googlegroups.com"
29
+ - uses : actions/checkout@v4
30
+ with :
31
+ token : ${{steps.app-token.outputs.token}}
27
32
28
33
- uses : radcortez/project-metadata-action@main
29
34
name : retrieve project metadata
32
37
github-token : ${{secrets.GITHUB_TOKEN}}
33
38
metadata-file-path : ' .github/project.yml'
34
39
40
+ - name : git author
41
+ run : |
42
+ git config --global user.name "SmallRye CI"
43
+ git config --global user.email "smallrye@googlegroups.com"
44
+
35
45
- name : Prepare Gradle
36
46
run : |
37
47
echo "version=${{steps.metadata.outputs.current-version}}" > tools/gradle-plugin/gradle.properties
44
54
name : Prepare Release
45
55
if : ${{ github.event.pull_request.merged == true}}
46
56
uses : smallrye/.github/.github/workflows/prepare-release.yml@main
57
+ with :
58
+ ref : main
47
59
secrets : inherit
You can’t perform that action at this time.
0 commit comments