Skip to content

Commit

Permalink
Merge pull request #416 from balena-io-modules/ab77/operational
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
ab77 authored Jan 5, 2023
2 parents 3ffeb10 + 3dce601 commit 957cb0b
Show file tree
Hide file tree
Showing 4 changed files with 298 additions and 273 deletions.
6 changes: 3 additions & 3 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inputs:
# --- custom environment
NODE_VERSION:
type: string
default: "14.x"
default: "16.x"
VERBOSE:
type: string
default: "true"
Expand Down Expand Up @@ -45,7 +45,7 @@ runs:

- name: Test release (Linux)
if: runner.os == 'Linux'
shell: bash --noprofile --norc -eo pipefail -x {0}
shell: bash
run: |
set -ea
Expand All @@ -56,7 +56,7 @@ runs:
- name: Test release (macOS)
if: runner.os == 'macOS'
shell: bash --noprofile --norc -eo pipefail -x {0}
shell: bash
run: |
set -ea
Expand Down
21 changes: 15 additions & 6 deletions .github/workflows/flowzone.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
---
name: Flowzone

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

jobs:
flowzone:
name: Flowzone
uses: product-os/flowzone/.github/workflows/flowzone.yml@ab77/operational
uses: product-os/flowzone/.github/workflows/flowzone.yml@master
# prevent duplicate workflows and only allow one `pull_request` or `pull_request_target` for
# internal or external contributions respectively
if: |
(github.event.pull_request.head.repo.full_name == github.repository && github.event_name == 'pull_request') ||
(github.event.pull_request.head.repo.full_name != github.repository && github.event_name == 'pull_request_target')
secrets: inherit
with:
custom_runs_on: '["ubuntu-latest","macos-latest","windows-2019"]'
tests_run_on: '["ubuntu-latest","macos-latest","windows-2019"]'
restrict_custom_actions: false
repo_config: true
repo_description: "List all connected drives in your computer, in all major operating systems"
Loading

0 comments on commit 957cb0b

Please sign in to comment.