Skip to content

Commit

Permalink
hacked workflow to test triggering deploy on synchronize-downstream-t…
Browse files Browse the repository at this point in the history
…est-then-deploy branch for other repos
  • Loading branch information
yiwork committed Sep 5, 2023
1 parent b7dd7aa commit 2db2ed1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
# Overrides the input, as inputs always have a default value
env:
WEBAPP_WORKFLOW_BRANCH: synchronize-downstream-test-then-deploy
PERMISSION_WORKFLOW_BRANCH:
PERMISSION_WORKFLOW_BRANCH: synchronize-downstream-test-then-deploy

jobs:
build-test-env:
Expand Down Expand Up @@ -185,8 +185,8 @@ jobs:
run: ${{matrix.test_command}}

trigger-pkg-upgrade:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
name: Upgrade Core pkg ${{ matrix.repo }}
if: github.event_name == 'push' && github.ref == 'refs/heads/synchronize-downstream-test-then-deploy' # <<< change before merge
name: Bump Core pkg in ${{ matrix.repo }}
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -213,7 +213,7 @@ jobs:
github_token: ${{ secrets.WORKFLOW_TRIGGER_PAT }}
github_user: charmed-bot
workflow_file_name: ${{ matrix.workflow_file }}
ref: "main"
ref: synchronize-downstream-test-then-deploy # <<< change before merge
client_payload: ${{ matrix.workflow_payload }}
wait_interval: 10
propagate_failure: true
Expand Down

0 comments on commit 2db2ed1

Please sign in to comment.