Skip to content

Restrict apply user #577

Open
Open
@sat0ken

Description

@sat0ken

Currently, every user who can write a comment digger apply, can apply.
I think it can restricting execution by using github.actor context information.

For example, if action.yaml could be written as shown below, wouldn't it be possible to restrict the users who execute it?

    - uses: actions/checkout@v4
      with:
        clean: false
        ref: refs/pull/${{ github.event.issue.number }}/merge
      if: ${{ github.event_name == 'issue_comment' && inputs.configure-checkout == 'true' && github.actor == inputs.apply_user }}

#272

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions