Skip to content

Commit

Permalink
Add README generation
Browse files Browse the repository at this point in the history
  • Loading branch information
frasdav committed Jan 4, 2024
1 parent 7423643 commit 822e1df
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/generate-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,21 @@ jobs:
if: steps.cache-pipenv.outputs.cache-hit != 'true'
run: make install_ci

# - name: Generate README
# run: |
# set -euo pipefail
- name: Generate README
run: |
set -euo pipefail
# git branch main remotes/origin/main
# make generate_readme branch=main
git branch main remotes/origin/main
make generate_readme branch=main
- name: Generate README
run: make generate_readme branch=${GITHUB_REF##*/}
# - name: Generate README
# run: make generate_readme branch=${GITHUB_REF##*/}

- name: Commit, push and create pull request
uses: peter-evans/create-pull-request@v5
with:
branch: bot/update-readme
commit-message: Update README [skip ci]
title: Update README
token: ${{ secrets.BUILD_BOT_PAT }}
# token: ${{ secrets.BUILD_BOT_PAT }}
token: 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

0 comments on commit 822e1df

Please sign in to comment.