Skip to content

Commit

Permalink
Fix broken flowzone config
Browse files Browse the repository at this point in the history
Signed-off-by: Vipul Gupta (@vipulgupta2048) <[email protected]>
  • Loading branch information
vipulgupta2048 committed Apr 12, 2024
1 parent f397331 commit b063331
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions .github/workflows/flowzone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ on:
pull_request:
types: [opened, synchronize, closed]
branches: [main, master]

# allow external contributions to use secrets within trusted code
pull_request_target:
types: [opened, synchronize, closed]
branches: [main, master]

workflow_dispatch:

jobs:
Expand All @@ -28,14 +30,21 @@ jobs:
secrets: inherit

with:
balena_slugs: balenalabs/balenasound

update-balena-yml:
name: Update balena.yml
uses: balena-io-experimental/balena.yml-action@main
with:
# Synchronise the GitHub README with the Balena Hub README
sync_readme: true
# If pushing a tag to deploy, use the same tag as the version number to display on Balena Hub
sync_tag: false
balena_slugs: balenalabs/balenasound

sync:
name: "Synchronize BalenaHub Readme"
runs-on: "ubuntu-22.04"
needs: [flowzone]
steps:
- name: Checkout main branch
uses: actions/checkout@v4

- name: Update balena.yml
uses: balena-io-experimental/balena.yml-action@main
with:
# Synchronise the GitHub README with the Balena Hub README
sync_readme: true
# If pushing a tag to deploy, use the same tag as the version number to display on Balena Hub
sync_tag: false

0 comments on commit b063331

Please sign in to comment.