This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
fix: race condition when zendesk authentication is triggered but widg⦠#5135
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: update-deps-branch | |
on: | |
push: | |
branches: | |
[dev] | |
jobs: | |
secrets-gate: | |
runs-on: ubuntu-latest | |
outputs: | |
ok: ${{ steps.check-secrets.outputs.ok }} | |
steps: | |
- name: check for secrets needed to run workflows | |
id: check-secrets | |
run: | | |
if [ ${{ secrets.UPDATE_DEPS_BRANCH_ENABLED }} == 'true' ]; then | |
echo "ok=enabled" >> $GITHUB_OUTPUT | |
fi | |
update-deps-branch: | |
needs: | |
- secrets-gate | |
if: ${{ needs.secrets-gate.outputs.ok == 'enabled' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Merge dev into deps branch | |
uses: devmasx/merge-branch@master | |
with: | |
type: now | |
from_branch: dev | |
target_branch: deps | |
github_token: ${{ github.token }} |