Skip to content

debug token configuration #2

debug token configuration

debug token configuration #2

Workflow file for this run

name: Sync with foundries repo
on:
push:
branches:
- main
- development
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Set foundries token
run: |
echo "TOKEN: ${FOUNDRIES_ACCESS_TOKEN} debug"
git config --global http.https://source.foundries.io/factories/arduino.extraheader "${FOUNDRIES_ACCESS_TOKEN}"
- name: Checkout source repository
uses: actions/checkout@v4
with:
fetch-depth: 0
path: src-repo
git clone ${REMOTE_REPO} destination

Check failure on line 21 in .github/workflows/repo-sync.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/repo-sync.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
cd destination
git remote add github-repo ..
git remote update
git merge github-repo/${BRANCH_NAME}
git push origin ${BRANCH_NAME}
env:
FOUNDRIES_ACCESS_TOKEN: ${{ secrets.FOUNDRIES_ACCESS_TOKEN }}
REMOTE_REPO: https://source.foundries.io/factories/arduino/lmp-manifest.git
BRANCH_NAME: ${{ github.base_ref || github.ref_name }}