Skip to content

Commit

Permalink
Merge pull request #1795 from Expensify/Rory-FixStringArgInContains
Browse files Browse the repository at this point in the history
Fix contains usage in GH Actions to unbreak deploys
  • Loading branch information
AndrewGable authored Mar 16, 2021
2 parents e285e1e + 8c70481 commit c256ccc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- name: Check if merged pull request was an automatic version bump PR
id: isAutomergePR
run: echo "::set-output name=IS_AUTOMERGE_PR::${{ constains(steps.getMergedPullRequest.outputs.labels, automerge) && github.actor == 'OSBotify' }}"
run: echo "::set-output name=IS_AUTOMERGE_PR::${{ contains(steps.getMergedPullRequest.outputs.labels.*.name, 'automerge') && github.actor == 'OSBotify' }}"

deployStaging:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }}

- name: Check if merged pull request was an automatic version bump PR
run: echo "::set-output name=IS_VERSION_BUMP_PR::${{ contains(steps.getMergedPullRequest.outputs.labels, automerge) && github.actor == 'OSBotify' }}"
run: echo "::set-output name=IS_VERSION_BUMP_PR::${{ contains(steps.getMergedPullRequest.outputs.labels.*.name, 'automerge') && github.actor == 'OSBotify' }}"

skipDeploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit c256ccc

Please sign in to comment.