Fix badges workflow blocking release/prebuilt workflows from permission and Git-LFS complications (#30947)

pull/30948/head
Nelson Chen 1 year ago committed by GitHub
parent ca57d329e2
commit 2a074eefac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/badges.yaml

@ -14,6 +14,8 @@ jobs:
name: create badges
runs-on: ubuntu-20.04
if: github.repository == 'commaai/openpilot'
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
@ -23,6 +25,8 @@ jobs:
run: |
${{ env.RUN }} "scons -j$(nproc) && python selfdrive/ui/translations/create_badges.py"
rm .gitattributes
git checkout --orphan badges
git rm -rf --cached .
git config user.email "badge-researcher@comma.ai"

Loading…
Cancel
Save