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

Support running multiple instances without collision #54

Merged
merged 2 commits into from
Jun 8, 2023

Commits on Jun 6, 2023

  1. Support running multiple instances without collision

    This uses a combination of three Github-set env vars that, together, are
    guaranteed to be unique within the scope of a repo and all its
    workflows:
    
    - GITHUB_WORKFLOW: the name of the workflow (or file path, if no name is given)
    - GITHUB_JOB: the ID of the job
    - GITHUB_ACTION: the ID of the step (or a formatted name of the repo
      where the action resides, i.e.
      `__mheap_github-action-required-labels`)
    
    Without this, running multiple instances of this action with comments
    enabled would result in them clobbering each others' comments.
    zhimsel committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    8156efe View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2023

  1. Configuration menu
    Copy the full SHA
    8a9dc86 View commit details
    Browse the repository at this point in the history