Skip to content

Commit

Permalink
branch
Browse files Browse the repository at this point in the history
  • Loading branch information
llauner committed Mar 26, 2024
1 parent f7bc0f1 commit 549a4bb
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/zsm-generate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"

- name: Create and checkout new branch
run: |
current_date=${{ steps.date.outputs.date }}
# - name: Create and checkout new branch
# run: |
# current_date=${{ steps.date.outputs.date }}

git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git checkout -b autogenerated/zsm-$current_date
git push origin -u autogenerated/zsm-$current_date
# git config --global user.email "github-actions[bot]@users.noreply.github.com"
# git config --global user.name "github-actions[bot]"
# git checkout -b autogenerated/zsm-$current_date
# git push origin -u autogenerated/zsm-$current_date

- name: Download and convert ZSM file
id: download-convert
Expand All @@ -47,5 +47,6 @@ jobs:
with:
repository: ./
commit_message: "Add ZSM file for ${{ steps.date.outputs.date }}"
branch: autogenerated/zsm-${{ steps.date.outputs.date }}
create_branch: true
file_pattern: 'zsm_openair.txt'

0 comments on commit 549a4bb

Please sign in to comment.