Merge pull request #271 from irgaly/renovate/kotlinx-coroutines-monorepo #188
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# main branch -> commit dependency graph | |
name: Update Dependencies Graph | |
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
update-graph: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- uses: ./.github/actions/gradle-cache | |
- name: Update Dependencies Graph | |
run: ./gradlew projectDependencyGraph | |
- uses: crazy-max/ghaction-import-gpg@v6 | |
id: gpg | |
with: | |
gpg_private_key: ${{ secrets.SIGNING_PGP_KEY }} | |
passphrase: ${{ secrets.SIGNING_PGP_PASSWORD }} | |
git_config_global: true | |
git_user_signingkey: true | |
git_commit_gpgsign: true | |
- name: Commit changes | |
env: | |
GIT_AUTHOR_NAME: irgaly | |
GIT_AUTHOR_EMAIL: ${{ steps.gpg.outputs.email }} | |
GIT_COMMITTER_NAME: irgaly | |
GIT_COMMITTER_EMAIL: ${{ steps.gpg.outputs.email }} | |
shell: bash +e {0} | |
run: | | |
git commit -am "Update Project Dependencies Graph" && git push origin HEAD | |
exit 0 | |