Automatically resolving conflicts in go.mod and updating dependency v… #1837
Workflow file for this run
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
--- | |
name: Pull Request on update/* Branch Push | |
on: | |
push: | |
branches: | |
- update/** | |
jobs: | |
print-debug-info: | |
name: Print debug info | |
runs-on: ubuntu-latest | |
steps: | |
- uses: hmarr/debug-action@v2 | |
auto-pull-request: | |
uses: networkservicemesh/.github/.github/workflows/pr-for-updates.yaml@main | |
secrets: | |
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }} | |
check-mergeability: | |
needs: [auto-pull-request] | |
uses: networkservicemesh/.github/.github/workflows/check-mergeability.yaml@main | |
secrets: | |
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }} | |
resolve_conflicts: | |
needs: [check-mergeability] | |
if: ${{ always() && needs.check-mergeability.result == 'failure' && needs.check-mergeability.outputs.pr_branch_ref != '' }} | |
uses: networkservicemesh/.github/.github/workflows/resolve-conflicts.yaml@main | |
with: | |
pr_branch_ref: ${{ needs.check-mergeability.outputs.pr_branch_ref }} | |
secrets: | |
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }} |