Skip to content

Commit

Permalink
Push to bp3 fails... #1244
Browse files Browse the repository at this point in the history
  • Loading branch information
ivvist committed Jan 2, 2024
1 parent c189bef commit 013c51e
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/ci_reuse_go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ jobs:
github_token: ${{ secrets.reporeading_token }}
gh_event: ${{ github.event_name }}

- name: Push changes to pb3
- name: Push changes to pb3 - First attempt
id: pushBP1
continue-on-error: true
if: ${{ (contains(github.repositoryUrl, 'voedger' ) || contains(github.repositoryUrl, 'untillpro' )) && (inputs.ignore_bp3 != 'true') &&
github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') }}
uses: actions-js/push@master
Expand All @@ -90,3 +92,16 @@ jobs:
message: "update voedger dependency ${{ inputs.commit_name }}"
branch: "main"
github_token: ${{ secrets.personal_token }}

- name: Push changes to pb3 - Second attempt
id: pushBP2
continue-on-error: true
if: (steps.pushBP1.outcome == 'failure') && ${{ (contains(github.repositoryUrl, 'voedger' ) || contains(github.repositoryUrl, 'untillpro' )) && (inputs.ignore_bp3 != 'true') &&
github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') }}
uses: actions-js/push@master
with:
directory: ../../${{ github.event.repository.name }}/airs-bp3
repository: untillpro/airs-bp3
message: "update voedger dependency ${{ inputs.commit_name }}"
branch: "main"
github_token: ${{ secrets.personal_token }}

0 comments on commit 013c51e

Please sign in to comment.