#Hey. Thanks for the `ChangeSet` object

1 messages · Page 1 of 1 (latest)

bright girder
#

Nevermind I did it like this :

      - id: 'generate-docs-patch'
        name: 'Generate docs'
        uses: 'dagger/dagger-for-github@v8.2.0'
        with:
          version: "latest"
          call: "generate-docs as-patch contents"
          dagger-flags: '--silent'
        env:
          DAGGER_NO_NAG: '1'

      - name: 'Check documentation'
        run: |
          echo '${{ steps.generate-docs-patch.outputs.output }}' | git apply
neat fox
bright girder
#

indeed. thank you.

primal igloo
#

There's also a --auto-apply so when a changeset is returned, it will not prompt the user. I haven't tried it yet with the dagger-for-github but I guess that should work with dagger-flags field

bright girder
#

hmm did not see thi flag. let me check

#

I don't see it

#

is it on the ChangeSet object ? Because I don't see how to pass flags to objects... only functions

#

ohhhh dagger --help indeed

#

thanks

#

trying it thank you