File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 3232 name : Post release tasks
3333 runs-on : ubuntu-latest
3434 steps :
35+ - uses : actions/create-github-app-token@v1
36+ id : app-token
37+ name : Create GitHub App Token
38+ with :
39+ app-id : ${{ vars.CI_APP_ID }}
40+ private-key : ${{ secrets.CI_APP_PRIVATE_KEY }}
41+
42+ - uses : actions/checkout@v4
43+ with :
44+ token : ${{ steps.app-token.outputs.token }}
45+
46+ - name : Get GitHub App User ID
47+ id : get-user-id
48+ run : echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
49+ env :
50+ GH_TOKEN : ${{ steps.app-token.outputs.token }}
51+
52+ - name : Configure Git author
53+ run : |
54+ git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]'
55+ git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>'
56+
57+ - uses : radcortez/project-metadata-action@main
58+ name : Retrieve project metadata
59+ id : metadata
60+ with :
61+ github-token : ${{secrets.GITHUB_TOKEN}}
62+ metadata-file-path : ' .github/project.yml'
63+ local-file : true
64+
3565 - name : Update dependency versions for the samples
3666 run : |
3767 while IFS= read -r -d '' pom
You can’t perform that action at this time.
0 commit comments