Skip to content

Fix inputs with empty string#9

Merged
MiguelSavignano merged 4 commits intomasterfrom
fix-env-empty
Nov 2, 2020
Merged

Fix inputs with empty string#9
MiguelSavignano merged 4 commits intomasterfrom
fix-env-empty

Conversation

@MiguelSavignano
Copy link
Copy Markdown
Member

Fix read value from GITHUB_SHA or INPUT_FROM_BRANCH, checking empty string values.

Examples:

name: Merge any release branch to uat
on:
  push:
    branches:
      - 'release/*'
jobs:
  merge-branch:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master

      - name: Merge staging -> uat
        uses: devmasx/merge-branch@v1.3.0
        with:
          type: now
          target_branch: uat
          github_token: ${{ github.token }}

or

name: Sync multiple branches
on:
  push:
    branches:
      - '*'
jobs:
  sync-branch:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master

      - name: Merge development -> staging
        uses: devmasx/merge-branch@v1.3.0
        with:
          type: now
          from_branch: development
          target_branch: staging
          github_token: ${{ github.token }}

@MiguelSavignano MiguelSavignano self-assigned this Nov 2, 2020
@MiguelSavignano MiguelSavignano merged commit c663275 into master Nov 2, 2020
@MiguelSavignano MiguelSavignano mentioned this pull request Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant