From 4e1b23b8ee049f9ec9571fb488cb746f78f5f2fe Mon Sep 17 00:00:00 2001 From: Matheus Ashton Silva Date: Thu, 16 May 2024 15:18:16 -0300 Subject: [PATCH] spliting actions in step --- .github/workflows/update-branches.yaml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/update-branches.yaml b/.github/workflows/update-branches.yaml index c5367db..14ca96e 100644 --- a/.github/workflows/update-branches.yaml +++ b/.github/workflows/update-branches.yaml @@ -5,17 +5,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: | - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - git rebase --onto osx main - git push + - run: git config user.name "github-actions[bot]" + - run: git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + - run: git rebase --onto osx main + - run: git push update-arch-branch: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: | - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - git rebase --onto arch main - git push + - run: git config user.name "github-actions[bot]" + - run: git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + - run: git rebase --onto arch main + - run: git push