Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH: Errors after migrating from "inline script" to "marketplace Action" #483

Open
Sar4D opened this issue Sep 30, 2024 · 1 comment
Open
Assignees
Labels
question Further information is requested

Comments

@Sar4D
Copy link

Sar4D commented Sep 30, 2024

Hi,
I am changing my Github action workflow from the inline script method to the marketplace action.
However, when running it as showed in the docs, i get this error and i also get way more tests than before.

image

This is way I am using inside the workflow


    - name: Invoke Measter action inside the repository
      uses: maester365/maester@main
      with:
        client_id: ${{ secrets.CLIENT_IDD }}
        tenant_id: ${{ secrets.AZURE_TENANT_ID }}
        include_public_tests: false
        artifact_upload: true  
        step_summary: false

Any idea?

@Sar4D Sar4D changed the title Errors after migrating from inline script to Github Action GH: Errors after migrating from "inline script" to "marketplace Action" Sep 30, 2024
@joshuafdo
Copy link
Collaborator

Hey @Sar4D thank you for your patience.

I tested the GIthub actions and confirmed it is working.

From the error message it looks like this is a problem with setting up the authentication. Have you checked your workload identity federation settings as documented in https://maester.dev/docs/monitoring/github#add-federated-credentials

@joshuafdo joshuafdo added the question Further information is requested label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants