Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(build): workaround set-env deprecation (#7010) #7011

Merged
merged 1 commit into from
Nov 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/api-test-lint-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ defaults:
run:
shell: bash

env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

jobs:
lint:
name: 'opentrons package linting'
Expand All @@ -57,6 +60,9 @@ jobs:
os: ['windows-latest', 'ubuntu-latest', 'macos-latest']
runs-on: '${{ matrix.os }}'
steps:
- name: 'set insecure variable to work around actions/github-script not being updated'
run: |
echo "::warning Remove the environment entry ACTIONS_ALLOW_UNSECURE_COMMANDS as soon as possible once https://github.com/actions/github-script/pull/91 gets merged, actions/github-script gets a release, and we rely on it later in this workflow"
- uses: 'actions/checkout@v2'
- uses: 'actions/setup-node@v1'
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/app-test-build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ env:
CI: true
OT_APP_DEPLOY_BUCKET: opentrons-app
OT_APP_DEPLOY_FOLDER: builds
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

jobs:
js-unit-test:
Expand All @@ -50,6 +51,9 @@ jobs:
runs-on: 'ubuntu-latest'
name: 'opentrons app frontend unit tests'
steps:
- name: 'set insecure variable to work around actions/github-script not being updated'
run: |
echo "::warning Remove the environment entry ACTIONS_ALLOW_UNSECURE_COMMANDS as soon as possible once https://github.com/actions/github-script/pull/91 gets merged, actions/github-script gets a release, and we rely on it later in this workflow"
- uses: 'actions/checkout@v2'
- uses: 'actions/setup-node@v1'
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/docs-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ on:
- '*'
workflow_dispatch:


env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

defaults:
run:
shell: bash
Expand All @@ -29,6 +33,9 @@ jobs:
name: opentrons documentation build
runs-on: 'ubuntu-latest'
steps:
- name: 'set insecure variable to work around actions/github-script not being updated'
run: |
echo "::warning Remove the environment entry ACTIONS_ALLOW_UNSECURE_COMANDS as soon as possible once https://github.com/actions/github-script/pull/91 gets merged, actions/github-script gets a release, and we rely on it later in this workflow"
- uses: 'actions/checkout@v2'
- uses: 'actions/setup-node@v1'
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/js-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ jobs:
name: 'js checks'
runs-on: 'ubuntu-latest'
steps:
- name: 'set insecure variable to work around actions/github-script not being updated'
run: |
echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
echo "::warning Remove this as soon as possible once https://github.com/actions/github-script/pull/91 gets merged, actions/github-script gets a release, and we rely on it later in this workflow"
- uses: 'actions/checkout@v2'
- uses: 'actions/setup-node@v1'
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/shared-data-test-lint-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ on:
- 'shared-data/*/**'
workflow_dispatch:

env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

defaults:
run:
shell: bash
Expand Down Expand Up @@ -51,6 +54,9 @@ jobs:
os: ['windows-latest', 'ubuntu-latest', 'macos-latest']
runs-on: '${{ matrix.os }}'
steps:
- name: 'set insecure variable to work around actions/github-script not being updated'
run: |
echo "::warning Remove the environment entry ACTIONS_ALLOW_UNSECURE_COMMANDS as soon as possible once https://github.com/actions/github-script/pull/91 gets merged, actions/github-script gets a release, and we rely on it later in this workflow"
- uses: 'actions/checkout@v2'
- uses: 'actions/setup-node@v1'
with:
Expand Down