github-action_permanent-interaction-limits

GitHub Action to Permanently Limit Interactions

https://github.com/malix-labs/github-action_permanent-interaction-limits

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.9%) to scientific vocabulary

Keywords

github-action github-actions github-app github-apps github-issues moderation triage
Last synced: 6 months ago · JSON representation

Repository

GitHub Action to Permanently Limit Interactions

Basic Info
  • Host: GitHub
  • Owner: Malix-Labs
  • License: agpl-3.0
  • Default Branch: main
  • Homepage:
  • Size: 189 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 6
Topics
github-action github-actions github-app github-apps github-issues moderation triage
Created 11 months ago · Last pushed 7 months ago
Metadata Files
Readme Contributing Funding License Code of conduct Citation Codeowners Security Support

README.md

GitHub Action - Permanent Interaction Limits

This GitHub Action cyclically re-enables temporary interaction limits to make them effectively permanent

You can apply these limits to a repository, an organization, or a user account

Pre-requisites

Personal Access Token

To consume this Action you need a GitHub Fine-Grained Personal Access Token (PAT) with the right permission

  1. If you use an "organization" scope, first you want to disable the expiry of your organization's Personal Access Tokens
    1. Navigate to your organization's settingsPersonal Access Tokens Settings → Fine-grained tokens → Set maximum lifetimes for personal access tokens
    2. Disable "Fine-grained personal access tokens must expire"
  2. Navigate to your Fine-Grained Personal Access TokensGenerate new token
  3. Fill "name" (suggestion: "`GitHub-ActionPermanent-Interaction-Limits`")_
  4. Optional: You can fill "description" with: "https://github.com/marketplace/actions/permanent-interaction-limits#pre-requisites" for reference
  5. Select the proper "Resource Owner"
  6. Set the expiration to : "No expiration"
  7. Select the proper "Repository Access" (at least the ones in which this action is used)
  8. About "Permissions", if your scope is :
    • "repository" : "Repository permissions" → "Administration" → Select "Read and write" Repository
    • "organization" : Organization permissions" → "Administration" → Select "Read and write" Organization
    • "user" : Account permissions" → "Interaction limits" → Select "Read and write" User
  9. Copy the generated Personal Access Token (note: it is not possible to read it afterwards)
  10. Navigate to the repository/organization in which you use this action → Settings → Security → Secrets and Variables → Actions → Secrets → Repository/Organization Secrets
  11. Name the secret (suggestion: "`TOKENGITHUB-ACTIONPERMANENT-INTERACTION-LIMITS`")
  12. Paste the Personal Access Token you previously copied in step 9 in the "Value" field
  13. If you are storing the secret in an organization, make sure to select the proper "Repository access" value
  14. Provide the Personal Access Token to the action as an environment variable (also see examples below)

Usage

See the complete workflow template

Inputs, Variables, and Secrets

| Type | Name | Required | Type | Default Value | Description | | ------ | -------- | -------- | ----------------------------------------------------------------- | ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | secret | TOKEN | true | string | | A GitHub Personal Access Token (PAT) with the required permissions: For repos/orgs: “Administration” (read + write) ; For users: “Interaction limits” (read + write) | | input | target | false | "repository" \| "organization" \| "user" | "repository" | The target entity for applying the interaction limits. | | input | scope | false | "existing_users" \| "contributors_only" \| "collaborators_only" | Current interaction limits setting | The scope to apply for the interaction limits. |

Owner

  • Name: Malix
  • Login: Malix-Labs
  • Kind: user
  • Location: 🇫🇷 Paris / Geneva 🇨🇭
  • Company: Malix GmbH

Tech Engineer & Entrepreneur | Open-source-only Account

GitHub Events

Total
  • Release event: 11
  • Delete event: 9
  • Push event: 50
  • Create event: 11
Last Year
  • Release event: 11
  • Delete event: 9
  • Push event: 50
  • Create event: 11

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 13
  • Total Committers: 1
  • Avg Commits per committer: 13.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 13
  • Committers: 1
  • Avg Commits per committer: 13.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Malix a****t@g****m 13

Issues and Pull Requests

Last synced: 7 months ago


Dependencies

action.yml actions