Skip to content

Example is using --config on only one of the commands #1150

Description

@kastl-ars

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The example configuration is using the --config ... flag only on one of the two updatecli commands.

      - name: Run Updatecli in Dry Run mode
        run: updatecli diff
        env:
          UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

      - name: Run Updatecli in Apply mode
        run: updatecli apply --config updatecli/updatecli.d
        env:
          UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expected Behavior

Either both commands should use the same --config ... flag or neither of them should

Proposal: Drop the flag and explain it in the README. Or just reference the upstream updatecli documentation.

Anything else?

Kind Regards,
Johannes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions