Skip to content

failed to update repository fro Octopilot Yaml updater #232

@topeawolwo

Description

@topeawolwo

Having this issue with Octopilot in my Githubaction workflow

``
time="2023-06-02T10:00:01Z" level=error msg="Repository update failed" error="failed to update repository xxxxxxx/manifest-temp: failed to update repository oxygen-manifest-temp: failed to get value: failed to read file VERSION: open /tmp/octopilot4137132539/xxxxxx/oxygen-manifest-temp/VERSION: no such file or directory" repository=oxygen-manifest-temp
time="2023-06-02T10:00:01Z" level=info msg="Updates finished" repositories-count=1

``

Had gone through the docs : https://dailymotion-oss.github.io/octopilot/v1.0.10/index.html

``

      - name: Octo Command
        shell: bash
        run: |
              octopilot \
                --github-auth-method "token" \
                --github-token "${{ steps.xxx-githubrunner-test-token.outputs.token }}" \
                --github-app-id xxxxx \
                --github-installation-id xxxx \
                --pr-base-branch "main" \
                --git-branch-prefix "oxygen-update" \
                --repo "xxxx-manifest-temp" \
                --pr-merge "true" \
                --update "yaml(file=value.yaml,path='version')=file(path=VERSION)" \
                --strategy "recreate"

``

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions