Skip to content

failing with 403 on push to main but working in PR workflows #29

@bcheidemann

Description

@bcheidemann

I have configured the allowed subjects in the Infisical dashboard as repo:my-org/my-repo:*.

By convention, this should allow both repo:my-org/my-repo:pull_request and repo:my-org/my-repo:ref:refs/heads/main. However, it only works for the former.

I wasn't able to find any documentation detailing exactly how subject filters are evaluated (just a comment in the dashboard that "This field supports glob patterns").

I've tried a few approaches and all have failed so far...

subject filter PR trigger push to main trigger
repo:my-org/my-repo:pull_request ❌ (403)
repo:my-org/my-repo:ref:refs/heads/main ❌ (403)
repo:my-org/my-repo:* ❌ (403)
repo:my-org/my-repo:** ❌ (403)
repo:my-org/my-repo:**/* ❌ (403) ❌ (403)
repo:my-org/my-repo:pull_request,repo:my-org/my-repo:ref:refs/heads/main ❌ (403) ❌ (403)

Is there any documentation for the evaluation behavior? Alternatively, is there a solution for this problem or is this considered a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions