Skip to content

Commit

Permalink
🌱 fixes to branch creation workflow again (#90)
Browse files Browse the repository at this point in the history
Signed-off-by: David Zager <[email protected]>
  • Loading branch information
djzager authored Jul 25, 2024
1 parent 74d2259 commit 79347d1
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/_cut-release-branches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,21 @@ jobs:
matrix:
repo: ${{ fromJson(needs.get-repos.outputs.repos) }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
repository: ${{ matrix.repo }}
fetch-depth: 0

- name: Get Token
id: get_workflow_token
uses: peter-murray/workflow-application-token-action@v3
with:
application_id: ${{ vars.KONVEYOR_BOT_ID }}
application_private_key: ${{ secrets.KONVEYOR_BOT_KEY }}

- name: Checkout repository
uses: actions/checkout@v4
with:
repository: ${{ matrix.repo }}
token: ${{ steps.get_workflow_token.outputs.token }}
fetch-depth: 0

- name: Create new branch
env:
GITHUB_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "Branch Creator"
Expand Down

0 comments on commit 79347d1

Please sign in to comment.