Add Actions policies support
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 54/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- github, javascript, yaml
Research direction
Read the repository's existing settings and plugin handling entry points to find how repository configuration is translated into GitHub API calls. Compare that flow with the Actions policies REST API linked in the issue and determine how the proposed actions_policies configuration maps to its fields. Done means repository Actions policies can be managed from configuration; add or update tests for the configuration and API behavior.
Written by the indexing model from the issue text.
Description
Prerequisites:
- Is the functionality available in the GitHub UI? If so, please provide a link to information about the feature.
Yes, check https://docs.github.com/en/actions/concepts/about-actions-policies
- Is the functionality available through the GitHub API? If the functionality is available, please provide links to the
API documentation (https://developer.github.com/v3/) as well as the Octokit documentation (https://octokit.github.io/).
Yes, see https://docs.github.com/en/rest/actions/policies?apiVersion=2026-03-10
New Feature
Please describe the desired new functionality:
I expect the ability to manage (repository) actions policies, e.g. by a new plugin. Here's how the configuration may look like, based on API fields:
.github/repos/.yml (or settings.yml / suborgs/*.yml)
actions_policies:
- name: restrict-deploy-workflows
enforcement: active
conditions:
workflow_path:
include:
- .github/workflows/deploy*.yml
exclude:
- .github/workflows/deploy-docs.yml
rules:
- type: restrict_actions_actors
parameters:
allowed_actors:
- id: 12345
type: Team
- type: restrict_action_events
parameters:
allowed_events:
- push
- workflow_dispatch
- name: audit-everything
enforcement: evaluate
rules:
- type: restrict_action_events
parameters:
allowed_events: [push, pull_request, schedule]
- Dominant language
- JavaScript
- Stars
- 942
- Forks
- 238
- PR merge metrics
- No merged PRs in 30d
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from github-community-projects/safe-settings
-
Teams: teams with organization-role access show up as deletionsPossibly taken @TovaBecker claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
github-community-projects/safe-settings#1144 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
github-community-projects/safe-settings#1143 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
github-community-projects/safe-settings#1135 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
github-community-projects/safe-settings#1134 ·
Maintainers usually reply within 2 days
-
environments: additive_plugins is ignored, undeclared environments are deletedPossibly taken @yaunj claimed this 12 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
github-community-projects/safe-settings#1133 ·
Maintainers usually reply within 2 days
All issues in github-community-projects/safe-settings
Similar issues
-
area:webapp bug finding
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
humlab-sead/sead_shape_shifter#779 ·
Maintainers usually reply within 1 day
-
enhancement feature/llm-analytics
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
PostHog/posthog#139959 · 1 comment ·
Maintainers usually reply within 1 day
-
ci good first issue priority:p1
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
mobeloper/better-oss#23 ·
-
accessibility Could Have good first issue seo
Difficulty 1/5 Under an hour Newbie friendliness 88/100
hannahro15/Musical-Match-Saga#278 ·
Maintainers usually reply within 1 day