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
Repository
GitHub Action to Permanently Limit Interactions
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 6
Topics
Metadata Files
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
- If you use an
"organization"scope, first you want to disable the expiry of your organization's Personal Access Tokens- Navigate to your organization's settings → Personal Access Tokens Settings → Fine-grained tokens → Set maximum lifetimes for personal access tokens
- Disable "Fine-grained personal access tokens must expire"
- Navigate to your Fine-Grained Personal Access Tokens → Generate new token
- Fill "name" (suggestion: "`GitHub-ActionPermanent-Interaction-Limits`")_
- Optional: You can fill "description" with: "
https://github.com/marketplace/actions/permanent-interaction-limits#pre-requisites" for reference - Select the proper "Resource Owner"
- Set the expiration to : "No expiration"
- Select the proper "Repository Access" (at least the ones in which this action is used)
- About "Permissions", if your
scopeis :"repository": "Repository permissions" → "Administration" → Select "Read and write"
"organization": Organization permissions" → "Administration" → Select "Read and write"
"user": Account permissions" → "Interaction limits" → Select "Read and write"
- Copy the generated Personal Access Token (note: it is not possible to read it afterwards)
- Navigate to the repository/organization in which you use this action → Settings → Security → Secrets and Variables → Actions → Secrets → Repository/Organization Secrets
- Name the secret (suggestion: "`TOKENGITHUB-ACTIONPERMANENT-INTERACTION-LIMITS`")
- Paste the Personal Access Token you previously copied in step 9 in the "Value" field
- If you are storing the secret in an organization, make sure to select the proper "Repository access" value
- 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
- Twitter: Malix_Labs
- Repositories: 2
- Profile: https://github.com/Malix-Labs
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
Issues and Pull Requests
Last synced: 7 months ago