switched to using the notification service for displaying the error s⦠#633
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 }} |